MCPcopy Create free account
hub / github.com/boxbeam/RedLib / list

Method list

src/redempt/redlib/json/JSONParser.java:170–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 }
169
170 private JSONList list() {
171 assertChar('[');
172 whitespace();
173 JSONList list = new JSONList();
174 while (peek() != ']') {
175 list.add(object());
176 whitespace();
177 if (peek() == ',') {
178 pos++;
179 whitespace();
180 }
181 }
182 pos++;
183 return list;
184 }
185
186 private JSONMap map() {
187 assertChar('{');

Callers 2

objectMethod · 0.95
parseListMethod · 0.80

Calls 5

assertCharMethod · 0.95
whitespaceMethod · 0.95
peekMethod · 0.95
objectMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected