Signature
void json_consume_space(String s, u32& i)
Parameters
s : JSON source string
i : current byte offset; advanced past JSON whitespace
Advances i past JSON whitespace in s.
This helper is mainly useful when writing a parser that follows UCE's JSON parsing rules. Most page code should call json_decode() instead.
Example:
Example
u32 i = 0;
json_consume_space(" value", i);
print(i, "\n");
Output
3