Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH] blobmsg_json: handle conversion of large integers from JSON

2016-10-25 Thread Florian Larysch
Hi, > IIUC, your change makes the type of fields vary upon their values. > I'm wondering how you suggest applications parse the resulting blob messages? you're right, this doesn't make sense. In my case, the only consumer was using blobmsg_format_json(), which handles element types dynamically.

[OpenWrt-Devel] [PATCH] blobmsg_json: handle conversion of large integers from JSON

2016-10-19 Thread Florian Larysch
of the returned value. Signed-off-by: Florian Larysch --- blobmsg_json.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/blobmsg_json.c b/blobmsg_json.c index 8a6ed8f..1ae4954 100644 --- a/blobmsg_json.c +++ b/blobmsg_json.c @@ -47,6 +47,7 @@ static bool