Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-02blobmsg_json: add new functions blobmsg_format_json_value*Matthias Schiffer
The current blobmsg_format_json* functions will return invalid JSON when the "list" argument is given as false (blobmsg_format_element() will output the name of the blob_attr as if the value is printed as part of a JSON object). To avoid breaking software relying on this behaviour, introduce new functions which will never print the blob_attr name and thus always produce valid JSON. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cosmetic style fix]
2014-10-24blobmsg_json: avoid redefinition of json_objectFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2014-09-23blobmsg_json: include json.h inside blobmsg_json.c instead of the public ↵Felix Fietkau
header file Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-05-29blobmsg_json: add blobmsg_add_json_from_fileFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-03-05add pkgconfig support for json-cThomas Gstädtner
this includes a fallback for legacy support
2013-01-06blobmsg_json: export blobmsg_add_objectFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-05-26switch blobmsg_json over to permissive licenseFelix Fietkau
2011-07-18blobmsg_json: support indenting of output dataFelix Fietkau
2011-02-06move json formatting to the blobmsg_json libraryFelix Fietkau
2011-02-06add missing copyright headersFelix Fietkau
2011-02-06add a json to blobmsg parsing libraryFelix Fietkau