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

Method toJSON

solr/solrj/src/java/org/noggit/JSONUtil.java:33–37  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

31 public static final char ARRAY_END = ']';
32
33 public static String toJSON(Object o) {
34 CharArr out = new CharArr();
35 new JSONWriter(out).write(o);
36 return out.toString();
37 }
38
39 /**
40 * @param o The object to convert to JSON

Callers 15

parseConfigMapMethod · 0.95
asConfigMethod · 0.95
jsonMethod · 0.95
jsonDelIdMethod · 0.95
jsonDelQMethod · 0.95
toJSONMethod · 0.95
toJSONMethod · 0.95
toJSONFacetParamValueMethod · 0.95

Calls 2

toStringMethod · 0.95
writeMethod · 0.65

Tested by 15

parseConfigMapMethod · 0.76
asConfigMethod · 0.76
jsonMethod · 0.76
jsonDelIdMethod · 0.76
jsonDelQMethod · 0.76
toJSONMethod · 0.76
toJSONMethod · 0.76
toJSONFacetParamValueMethod · 0.76