MCPcopy
hub / github.com/google/gson / parse

Method parse

src/main/java/com/google/gson/JsonParser.java:43–45  ·  view source on GitHub ↗

Parses the specified JSON string into a parse tree @param json JSON text @return a parse tree of JsonElements corresponding to the specified JSON @throws JsonParseException if the specified text is not valid JSON @since 1.3

(String json)

Source from the content-addressed store, hash-verified

41 * @since 1.3
42 */
43 public JsonElement parse(String json) throws JsonSyntaxException {
44 return parse(new StringReader(json));
45 }
46
47 /**
48 * Parses the specified JSON string into a parse tree

Calls 6

isJsonNullMethod · 0.95
peekMethod · 0.95
parseMethod · 0.95
createJsonNullMethod · 0.95
isLenientMethod · 0.45
setLenientMethod · 0.45