282930313233
/** JSON parser */ public class JSONParser { /** Parse from an input stream to get a Json object */ public static void parse(InputStream input) { parse(input, new JSONPrinter()) ; }
404142434445
parse(t, handler) ; } /** Parse from a reader to get a Json object */ public static void parse(Reader reader) { parse(reader, new JSONPrinter()) ; }
585960616263
p.parse() ; } /** Parse from a reader to get an Json value */ public static void parseAny(Reader reader) { parseAny(reader, new JSONPrinter()) ; }
707172737475
parseAny(t, handler) ; } /** Parse from a reader to get an Json value */ public static void parseAny(InputStream input) { parseAny(input, new JSONPrinter()) ; }