Search Results
6/11/2025, 4:10:20 PM
>>105560292
in my own json parser it’s mostly stateless and the only state is the reading position
for formats where the path to the value i want to extract is known i just do something like char *c = json_path_get_value(json, “path.to.value”);
for (char *v = json_array_first_value(c); v; v = json_array_next_value(v))
dothing(v);
in my own json parser it’s mostly stateless and the only state is the reading position
for formats where the path to the value i want to extract is known i just do something like char *c = json_path_get_value(json, “path.to.value”);
for (char *v = json_array_first_value(c); v; v = json_array_next_value(v))
dothing(v);
Page 1