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

Method map

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

Source from the content-addressed store, hash-verified

184 }
185
186 private JSONMap map() {
187 assertChar('{');
188 whitespace();
189 JSONMap map = new JSONMap();
190 while (peek() != '}') {
191 String key = string();
192 whitespace();
193 assertChar(':');
194 whitespace();
195 map.put(key, object());
196 if (peek() == ',') {
197 pos++;
198 whitespace();
199 }
200 }
201 pos++;
202 return map;
203 }
204
205}
206

Callers 15

objectMethod · 0.95
stringifyMethod · 0.80
expandMethod · 0.80
serializeMethod · 0.80
ItemTraitEnum · 0.80
getLoadedMethod · 0.80
onBreakMethod · 0.80
getItemsMethod · 0.80
getButtonsMethod · 0.80
getAtMethod · 0.80
HologramMethod · 0.80
getStandsMethod · 0.80

Calls 5

assertCharMethod · 0.95
whitespaceMethod · 0.95
peekMethod · 0.95
stringMethod · 0.95
objectMethod · 0.95

Tested by

no test coverage detected