# jsonshow **Repository Path**: siasjack/jsonshow ## Basic Information - **Project Name**: jsonshow - **Description**: 用于快速解析json数据的命令 为shell脚本解析json提供了一种快捷方法,不需要再使用sed、awk、echo、cut等命令和管道技术,仅仅一个命令就可以得到精准的json数据某字段的结果 - **Primary Language**: C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-08-16 - **Last Updated**: 2024-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jsonshow parase json data for shell script if u have any question,come to here ask https://www.openwrtdl.com/wordpress/jsonshowshell%e5%a4%84%e7%90%86json%e6%95%b0%e6%8d%ae%e5%88%a9%e5%99%a8 useage: $ ./jsonshow -h jsonshow(V0.1.0),build time:20180813 -s 'json string',cant use -f option -f 'json file path',cant use -s option -c 'parase cmd',ex:root.name root.info.user(must be start with root) -b '0/1',print beauty,this is useful for shell script(default 1) ex:jsonshow -s '{"name":"jack"}' -c root.name jsonshow -s '{"name":"jack","arr":[1,2,3,4]}' -c root.arr.#3 jsonshow -f test.json -c root.links.#1.name (#num for array type,first is #0) jsonshow -f test.json -c root.stu.jack.age copywrite (c) jk110333@126.com