|
JST: JSON tools
1.0.0
JSON tools dynamic library for reading, manipulating and writing JSON tree
|

Go to the source code of this file.
Functions | |
| JST_Error | JST_add_property (JST_Object *object, unsigned index, const char *name, const JST_Element *value) |
| Add a named-value pair to an object. More... | |
| JST_Error | JST_add_item (JST_Array *array, const JST_Element *value) |
| JST_Error | JST_replace_item (JST_Array *array, unsigned index, const JST_Element *src) |
| JST_Error | JST_remove_property (JST_Object *object, const char *name) |
| JST_Error | JST_remove_item (JST_Array *array, unsigned index) |
| JST_Error JST_add_item | ( | JST_Array * | array, |
| const JST_Element * | value | ||
| ) |
Definition at line 89 of file JST_update.c.
| JST_Error JST_add_property | ( | JST_Object * | object, |
| unsigned | index, | ||
| const char * | name, | ||
| const JST_Element * | value | ||
| ) |
Add a named-value pair to an object.
| object | the target object to modify |
| index | the property's rank, -1U to add at the end |
| name | the property's name |
| value | the property's value |
Definition at line 60 of file JST_update.c.
Definition at line 140 of file JST_update.c.

| JST_Error JST_remove_property | ( | JST_Object * | object, |
| const char * | name | ||
| ) |
Definition at line 124 of file JST_update.c.

| JST_Error JST_replace_item | ( | JST_Array * | array, |
| unsigned | index, | ||
| const JST_Element * | src | ||
| ) |
Definition at line 114 of file JST_update.c.
1.8.13