consider to use #getValStrict()
(JSONParser parser)
| 55 | |
| 56 | /** consider to use {@link #getValStrict()} */ |
| 57 | public static Object getVal(JSONParser parser) throws IOException { |
| 58 | return new ObjectBuilder(parser).getVal(); |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * like {@link #getVal()}, but also check that there is nothing remaining in the given stream |