org.mozilla.javascript.json
Class JsonParser
java.lang.Object
org.mozilla.javascript.json.JsonParser
public class JsonParser
- extends Object
This class converts a stream of JSON tokens into a JSON value.
See ECMA 15.12.
- Author:
- Raphael Speyer, Hannes Wallnoefer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonParser
public JsonParser(Context cx,
Scriptable scope)
parseValue
public Object parseValue(String json)
throws JsonParser.ParseException
- Throws:
JsonParser.ParseException