MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxParseJSONArray

Function fxParseJSONArray

modules/piu/PC/Code/piuCodeJSON.c:69–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void fxParseJSONArray(PiuCodeParser parser)
70{
71 fxParseJSONToken(parser);
72 for (;;) {
73 if (parser->token == XS_JSON_TOKEN_RIGHT_BRACKET)
74 break;
75 fxParseJSONValue(parser);
76 if (parser->token != XS_JSON_TOKEN_COMMA)
77 break;
78 fxParseJSONToken(parser);
79 }
80 if (parser->token != XS_JSON_TOKEN_RIGHT_BRACKET)
81 PiuCodeParserError(parser);
82 fxParseJSONToken(parser);
83}
84
85void fxParseJSONObject(PiuCodeParser parser)
86{

Callers 1

fxParseJSONValueFunction · 0.70

Calls 3

PiuCodeParserErrorFunction · 0.85
fxParseJSONTokenFunction · 0.70
fxParseJSONValueFunction · 0.70

Tested by

no test coverage detected