summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'json.h')
-rw-r--r--json.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/json.h b/json.h
index 27c8ab6..3391cea 100644
--- a/json.h
+++ b/json.h
@@ -125,7 +125,6 @@ struct json_node
bool json_validate(const char *str);
-bool json_validate_liberal(const char *str);
json_node *json_decode(const char *str);
#define JSONOPT_USE_ORIG 1
@@ -138,14 +137,6 @@ char *json_encode(json_node * node, int options);
* Might return JSON_INVALID if something is wrong with the input. */
json_type json_text_type(const char *str, size_t nbytes);
-/* Filter almost-JSON text to try to make it JSON. On failure,
- * returns NULL. On success, the text may or may not be valid JSON;
- * you still have to run it through json_validate or json_decode
- * to see.
- *
- * Free the result with free() when you're done with it. */
-char *json_cleanup(const char *str);
-
/*
* Free a JSON node and all its descendants.
*