-
-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Great work so far.
However one thing that would help tremendously is to have a (family of) utility function to look up values by a given key - right now I'd have to iterate through a linked list of the members of the json object, which makes the implemenation curve annoying. This has it's own performance implications ofc.
Parson has something like these:
JSON_Value* json_object_get_value(const JSON_Object* object, const char* name);
const char* json_object_get_string(const JSON_Object* object, const char* name);
JSON_Array* json_object_get_array(const JSON_Object* object, const char* name);
double json_object_get_number(const JSON_Object* object, const char* name);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels