summaryrefslogtreecommitdiff
path: root/jsonpath.h
diff options
context:
space:
mode:
authorJoey Adams2010-08-05 03:53:30 +0000
committerJoey Adams2010-08-05 03:53:30 +0000
commit1dab8166427da17d43c6ebaa6287447d3dd174b5 (patch)
tree54c1e57b485f3136c2a607cab326a151a9978e8e /jsonpath.h
parent32df49240df9b682cbe1b9d307e16eda08572109 (diff)
Renamed json_node to JSON in the C code.
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);