summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'json.h')
-rw-r--r--json.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/json.h b/json.h
index de4fb26..588f3cb 100644
--- a/json.h
+++ b/json.h
@@ -125,6 +125,7 @@ struct json_node
bool json_validate(const char *str);
+bool json_validate_server_encoded(const char *str);
json_node *json_decode(const char *str);
#define JSONOPT_USE_ORIG 1
@@ -211,7 +212,4 @@ void json_set_string(json_node * node, const char *str, size_t length);
const char *json_get_number(json_node * node);
void json_set_number(json_node * node, const char *number, size_t length);
-/* Utility function used by json_get to automatically apply from_json to its result. */
-const char *from_json_cstring(const char *input, const char *funcname);
-
#endif