add json string compare functions
[uwplayer.git] / application / json.h
index 659c7f6..0731cca 100644 (file)
@@ -206,6 +206,9 @@ JSONValue* json_array_get(JSONArray *array, size_t i);
 
 void json_value_free(JSONValue *value);
 
+int json_strcmp(JSONValue *jsstr, const char *str);
+int json_strncmp(JSONValue *jsstr, const char *str, size_t slen);
+
 #ifdef __cplusplus
 }
 #endif