[LEDE-DEV] [PATCH v3] jshn: add functionality to read big JSON

2018-01-18 Thread Christian Beier
The existing read functionality feeds the complete JSON to jshn as a cmdline argument, leading to `-ash: jshn: Argument list too long` errors for JSONs bigger than ca. 100KB. This commit adds the ability to read the JSON directly from a file if wanted, removing this shell-imposed size limit. Test

[LEDE-DEV] [PATCH v3] jshn: add functionality to read big JSON

2018-01-18 Thread Christian Beier
Hi John, Here's v3 of the patch with separate error handlers for the different fail cases. Cheers, Christian ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev