projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ZOOM: More informative surrogate diagnostic
[yaz-moved-to-github.git]
/
src
/
json.c
diff --git
a/src/json.c
b/src/json.c
index
4c41613
..
6c34fcb
100644
(file)
--- a/
src/json.c
+++ b/
src/json.c
@@
-420,7
+420,7
@@
struct json_node *json_parser_parse(json_parser_t p, const char *json_str)
p->buf = json_str;
p->cp = p->buf;
p->buf = json_str;
p->cp = p->buf;
- n = json_parse_object(p);
+ n = json_parse_value(p);
if (!n)
return 0;
c = look_ch(p);
if (!n)
return 0;
c = look_ch(p);