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
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-06-27 09:50:29 +0300
committerFelix Fietkau <nbd@nbd.name>2016-07-02 11:10:08 +0300
commitd3fa561e5abcc88e02eb289c24d0b1d4d05adb54 (patch)
tree972f3a864d9e0d095b93de304df24d74943e8b96 /avl-cmp.h
parentd197c8ffa3cc61a747f318fd0ecef1f6e39b3935 (diff)
blobmsg_json: add new functions blobmsg_format_json_value*
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]
Diffstat (limited to 'avl-cmp.h')
0 files changed, 0 insertions, 0 deletions