Where can I find shell script for parse JSON on busybox?

I have an IP camera with armv5tejl architecture. There I have busybox. I have to be able to parse JSON responses from curl. The problem is that I don’t have programs like:
jq, jshon, jsawk…
It is hard to instal them for this architecture. I have to find some shell script which can parse JSON object and JSON array.

If it is possible to find this script, please, show me that script

Answer

You have ash or bash so you can use json.sh. You have awk so you can use json.awk.

Leave a Reply

Your email address will not be published. Required fields are marked *