(JSONParser p)
| 48 | } |
| 49 | |
| 50 | public static void checkEOF(JSONParser p) throws IOException { |
| 51 | if (p.nextEvent() != JSONParser.EOF) { |
| 52 | throw p.err("Expecting single object only."); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | /** consider to use {@link #getValStrict()} */ |
| 57 | public static Object getVal(JSONParser parser) throws IOException { |
no test coverage detected