Class JsonParser
- java.lang.Object
-
- io.github.erdos.stencil.standalone.JsonParser
-
public final class JsonParser extends java.lang.Object
A naive implementation based on recursive descent parsing.
-
-
Constructor Summary
Constructors Constructor Description JsonParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
parse(java.lang.String contents)
Parses string and returns read object if any.static java.lang.Object
read(java.io.Reader reader)
-
-
-
Method Detail
-
parse
public static java.lang.Object parse(java.lang.String contents) throws java.io.IOException
Parses string and returns read object if any.- Throws:
java.io.IOException
-
read
public static java.lang.Object read(java.io.Reader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
-