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

Method getObject

solr/solrj/src/java/org/noggit/ObjectBuilder.java:171–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 }
170
171 public Object getObject() throws IOException {
172 Object m = newObject();
173 for (; ; ) {
174 int ev = parser.nextEvent();
175 if (ev == JSONParser.OBJECT_END) return objectEnd(m);
176 Object key = getKey();
177 ev = parser.nextEvent();
178 Object val = getVal();
179 addKeyVal(m, key, val);
180 }
181 }
182
183 public Object newArray() {
184 return new ArrayList<Object>();

Callers 12

fromJSONMethod · 0.95
getValMethod · 0.95
processResponseMethod · 0.95
selectValueMethod · 0.45
testWriteByteByByteMethod · 0.45
testWriteSmallBufferMethod · 0.45
testWriteLargeBufferMethod · 0.45
testFlushSmallBufferMethod · 0.45
testFlushLargeBufferMethod · 0.45
pullObjectMethod · 0.45
pullStreamMethod · 0.45

Calls 6

newObjectMethod · 0.95
objectEndMethod · 0.95
getKeyMethod · 0.95
getValMethod · 0.95
addKeyValMethod · 0.95
nextEventMethod · 0.45

Tested by 8

fromJSONMethod · 0.76
testWriteByteByByteMethod · 0.36
testWriteSmallBufferMethod · 0.36
testWriteLargeBufferMethod · 0.36
testFlushSmallBufferMethod · 0.36
testFlushLargeBufferMethod · 0.36
pullObjectMethod · 0.36