jshn: properly support JSON "null" type lede-17.01
authorJo-Philipp Wich <jo@mein.io>
Sun, 7 Jan 2018 14:46:31 +0000 (15:46 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jan 2018 15:02:02 +0000 (16:02 +0100)
commit1dafcd7813f147811a6bbdb00eec603fe732aac1
tree07630d0a33336889cecea4e7112b15cd4bbfa740
parent6abafba0c4d38d109c7563d9c09b51d627002cb6
jshn: properly support JSON "null" type

Instead of abort parsing, properly deal with "null" values by implementing
support for reading and formatting such values.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1c08e80313fd487112c48346889cc57badeef751)
jshn.c
sh/jshn.sh