X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fjson.c;h=6c34fcbec76fcb894e2d389b24de1e9df3eb65ea;hp=a2d4f1d3a1d883ae29b53c2c337bc8244c8bab50;hb=7b4adcc54d64c9196a8c19a7f69c850774b8776b;hpb=bf4af27e54345e280223257161448ace0f0b1d67 diff --git a/src/json.c b/src/json.c index a2d4f1d..6c34fcb 100644 --- a/src/json.c +++ b/src/json.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ @@ -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; - n = json_parse_object(p); + n = json_parse_value(p); if (!n) return 0; c = look_ch(p);