MCPcopy Create free account
hub / github.com/apache/solr / fromJSON

Method fromJSON

solr/solrj/src/java/org/noggit/ObjectBuilder.java:34–37  ·  view source on GitHub ↗

consider to use #fromJSONStrict(String)

(String json)

Source from the content-addressed store, hash-verified

32
33 /** consider to use {@link #fromJSONStrict(String)} */
34 public static Object fromJSON(String json) throws IOException {
35 JSONParser p = new JSONParser(json);
36 return getVal(p);
37 }
38
39 /**
40 * like {@link #fromJSON(String)}, but also check that there is nothing remaining in the given

Callers 12

matchObjMethod · 0.95
matchMethod · 0.95
addAndGetVersionMethod · 0.95
deleteAndGetVersionMethod · 0.95
indexDocsMethod · 0.95
assertRTGResultsMethod · 0.95
assertRTGResultsMethod · 0.95
_testMethod · 0.95
testStrictPositiveMethod · 0.95

Calls 1

getValMethod · 0.95

Tested by 12

matchObjMethod · 0.76
matchMethod · 0.76
addAndGetVersionMethod · 0.76
deleteAndGetVersionMethod · 0.76
indexDocsMethod · 0.76
assertRTGResultsMethod · 0.76
assertRTGResultsMethod · 0.76
_testMethod · 0.76
testStrictPositiveMethod · 0.76