]> git.corax.cc Git - toolbox/commit
include/json: Add functions for creating json objects and arrays
authorMatthias Kruk <m@m10k.eu>
Wed, 24 Mar 2021 22:20:36 +0000 (07:20 +0900)
committerMatthias Kruk <m@m10k.eu>
Wed, 24 Mar 2021 22:20:36 +0000 (07:20 +0900)
commitbbd6a465ab6c3dfc96e0c63f0a42808a9f88302d
tree32353f71b40fc770c699a7dca67c7fc5b6a15c3d
parent9cb472f7779c9653a9e794dd2b39906fda3c183a
include/json: Add functions for creating json objects and arrays

Especially when interacting with REST-ful APIs via curl, it can be handy
to have functions to quickly generate JSON objects without having to
invoke jq. This commit adds functions for generating simple JSON objects
and arrays.
include/json.sh [new file with mode: 0644]