mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
use system jansson if available
This commit is contained in:
parent
0653feaec8
commit
9d97962759
10 changed files with 158 additions and 16 deletions
|
@ -302,14 +302,6 @@ int json_equal(const json_t *json1, const json_t *json2);
|
|||
json_t *json_copy(json_t *json) JANSSON_ATTRS(warn_unused_result);
|
||||
json_t *json_deep_copy(const json_t *json) JANSSON_ATTRS(warn_unused_result);
|
||||
|
||||
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 */
|
||||
|
||||
#define JSON_REJECT_DUPLICATES 0x1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue