]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/jansson/jansson.h
Emv scan (#691)
[proxmark3-svn] / client / jansson / jansson.h
index 4333289542eeef534970d081337cc281a62d0086..86f23d17e8e7e3e68c0d55b738bc76ed124db936 100644 (file)
@@ -306,6 +306,16 @@ int json_equal(const json_t *value1, const json_t *value2);
 json_t *json_copy(json_t *value);
 json_t *json_deep_copy(const json_t *value);
 
+/* path */
+
+json_t *json_path_get(const json_t *json, const char *path);
+int json_path_set_new(json_t *json, const char *path, json_t *value, size_t flags, json_error_t *error);
+
+static JSON_INLINE
+int json_path_set(json_t *json, const char *path, json_t *value, size_t flags, json_error_t *error)
+{
+    return json_path_set_new(json, path, json_incref(value), flags, error);
+}
 
 /* decoding */
 
Impressum, Datenschutz