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

Method parse

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

Source from the content-addressed store, hash-verified

7public class Json {
8
9 public static JsonElement parse(String json) {
10 try {
11 return JsonParser.parseString(json);
12 } catch (Throwable e) {
13 return new JsonParser().parse(json);
14 }
15 }
16
17 public static JsonObject safeObject(String json) {
18 try {

Callers 15

safeObjectMethod · 0.95
homeContentMethod · 0.95
detailContentMethod · 0.95
updatePdfhMethod · 0.45
updatePdfaMethod · 0.45
categoryContentMethod · 0.45
detailContentMethod · 0.45
searchContentMethod · 0.45
homeContentMethod · 0.45
categoryContentMethod · 0.45
detailContentMethod · 0.45
searchContentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected