summaryrefslogtreecommitdiff
path: root/jsonpath.h
diff options
context:
space:
mode:
Diffstat (limited to 'jsonpath.h')
-rw-r--r--jsonpath.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/jsonpath.h b/jsonpath.h
index 320fe02..3d873ed 100644
--- a/jsonpath.h
+++ b/jsonpath.h
@@ -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);