/** Parse any JSON value, not just an object, from a file */ public static JsonValue parseAny(String string) { return _parseAny(new StringReader(string)) ; }
/** Parse any JSON value, not just an object, from a file */ public static JsonValue parseAny(String string) { return _parseAny(new StringReader(string)) ; }
/** Parse any JSON value, not just an object, from an input stream */ public static JsonValue parseAny(InputStream input) { JSONMaker maker = new JSONMaker() ; _parseAny(input, maker) ; return maker.jsonValue() ; }
private static JsonValue _parseAny(Reader r) { JSONMaker maker = new JSONMaker() ; _parseAny(r, maker) ; return maker.jsonValue() ; }
/** Parse any JSON value, not just an object, from an input stream */ public static JsonValue parseAny(InputStream input) { JSONMaker maker = new JSONMaker(); _parseAny(input, maker) ; return maker.jsonValue() ; }
private static JsonValue _parseAny(Reader r) { JSONMaker maker = new JSONMaker(); _parseAny(r, maker) ; return maker.jsonValue() ; }