MCPcopy Index your code
hub / github.com/apache/tomcat / parseObject

Method parseObject

java/org/apache/tomcat/util/json/JSONParser.java:38–44  ·  view source on GitHub ↗

Parses a JSON object into a Java Map.

()

Source from the content-addressed store, hash-verified

36 * Parses a JSON object into a Java {@code Map}.
37 */
38 public java.util.LinkedHashMap<String,Object> parseObject() throws ParseException {
39 java.util.LinkedHashMap<String,Object> toReturn = object();
40 if (!ensureEOF()) {
41 throw new IllegalStateException("Expected EOF, but still had content to parse");
42 }
43 return toReturn;
44 }
45
46 /**
47 * Parses a JSON array into a Java {@code List}.

Calls 2

objectMethod · 0.95
ensureEOFMethod · 0.95