Class JsonParser


  • public final class JsonParser
    extends java.lang.Object
    A parser to parse Json into a parse tree of JsonElements
    Since:
    1.3
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JsonElement parse​(JsonReader json)
      Returns the next value from the JSON stream as a parse tree.
      JsonElement parse​(java.io.Reader json)
      Parses the specified JSON string into a parse tree
      JsonElement parse​(java.lang.String json)
      Parses the specified JSON string into a parse tree
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait