[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH V7 6/7] libxl: Introduce JSON parsing stuff.
On Wed, 2011-07-20 at 22:24 +0100, Anthony PERARD wrote: > + /* parse the input */ > + if (yajl_ctx.hand == NULL) { > + /* allow comments */ > + yajl_parser_config cfg = { 1, 1 }; Looks like YALJ v2 has enums for these config values but v1 doesn't. However yajl_parse_config cfg = { .allowComments = 1, .checkUTF8 = 1, }; is a bit more self documenting. (supporting yajl 1 and 2 is going to be a pain. but lets cross that bridge when we come to it...) Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |