consider to use #fromJSONStrict(String)
(String json)
| 32 | |
| 33 | /** consider to use {@link #fromJSONStrict(String)} */ |
| 34 | public static Object fromJSON(String json) throws IOException { |
| 35 | JSONParser p = new JSONParser(json); |
| 36 | return getVal(p); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * like {@link #fromJSON(String)}, but also check that there is nothing remaining in the given |