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

Method parse

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

@deprecated Use JsonParser#parseString

(String json)

Source from the content-addressed store, hash-verified

153 * @deprecated Use {@link JsonParser#parseString}
154 */
155 @Deprecated
156 @InlineMe(replacement = "JsonParser.parseString(json)", imports = "com.google.gson.JsonParser")
157 public JsonElement parse(String json) throws JsonSyntaxException {
158 return parseString(json);
159 }
160
161 /**
162 * @deprecated Use {@link JsonParser#parseReader(Reader)}

Callers

nothing calls this directly

Calls 2

parseStringMethod · 0.95
parseReaderMethod · 0.95

Tested by

no test coverage detected