Class JsonParser


  • public class JsonParser
    extends Object
    Json text parser. Converts json data from string format to tree of objects.
    Author:
    antons
    • Constructor Detail

      • JsonParser

        public JsonParser()
    • Method Detail

      • parse

        public static JsonValue parse​(String json)
        Parse json from string.
        Parameters:
        json - string with json obejct array of just literal.
        Returns:
        Json value representing the json data.
      • parse

        public static JsonValue parse​(Reader json)
        Parse json from reader.
        Parameters:
        json - reader with json obejct array of just literal.
        Returns:
        Json value representing the json data.
      • parse

        public static JsonValue parse​(JsonSource source)
        Parse json from source.
        Parameters:
        source - json source data.
        Returns:
        Json value representing the json data.