MCPcopy Create free account
hub / github.com/FongMi/TV / parse

Method parse

catvod/src/main/java/com/github/catvod/utils/Json.java:19–25  ·  view source on GitHub ↗
(String json)

Source from the content-addressed store, hash-verified

17public class Json {
18
19 public static JsonElement parse(String json) {
20 try {
21 return JsonParser.parseString(json);
22 } catch (Throwable e) {
23 return new JsonParser().parse(json);
24 }
25 }
26
27 public static boolean isObj(String text) {
28 try {

Callers 9

addHeaderMethod · 0.95
jsonParseMethod · 0.95
headerMethod · 0.95
loadMethod · 0.95
fetchMethod · 0.95
loadMethod · 0.95
safeObjectMethod · 0.95
toMapMethod · 0.95
buildUrlMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected