Class JSONParser

java.lang.Object
redempt.redlib.json.JSONParser

public class JSONParser extends Object
  • Constructor Details

    • JSONParser

      public JSONParser()
  • Method Details

    • parseList

      public static JSONList parseList(String json)
      Parse a JSONList from a JSON string
      Parameters:
      json - The JSON string
      Returns:
      The JSONList parsed out of it
    • parseMap

      public static JSONMap parseMap(String json)
      Parse a JSONMap from a JSON string
      Parameters:
      json - The JSON string
      Returns:
      TThe JSONList parsed out of it