diff options
Diffstat (limited to 'jsonpath.h')
| -rw-r--r-- | jsonpath.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -55,7 +55,7 @@ typedef struct union { - json_node *node; + JSON *node; struct { @@ -70,8 +70,8 @@ typedef List /* jp_element* */ JSONPath; JSONPath *jp_parse(const char *pattern); char *jp_show(JSONPath * jp); -List /* JPRef* */ *jp_match(JSONPath * jp, json_node * json); -void jp_set(JSONPath * jp, json_node * json, json_node * value); +List /* JPRef* */ *jp_match(JSONPath * jp, JSON * json); +void jp_set(JSONPath * jp, JSON * json, JSON * value); /* Returns the JSON encoding of the given reference. */ char *jpref_encode(JPRef * ref); |
