![]() |
Parse JSON in Linux
I need to convert this data in linux command to human readable language.
I've tried to use underscore (based on NodeJS) to prettify the output but not work. any good suggestion? {"date":"2005\u5e7405\u670812\u65e5(\u6728) 02\u664216\u5206","quiz_no":"1469","body":"\u4e09\u56fd\u5fd7\u3092\u30e2\u30c1\u30fc\u30d5\u306b\u3 057\u305f\u6a5f\u7a2e\u3002\u6b63\u3057\u3044\u6a5f\u7a2e\u540d\u306f\u3069\u308c\u304b\uff1f","choi ce":[{"c1":"CR\u4e09\u56fd\u904a\u622f","c2":"CR\u4e09\u56fd\u904a\u7fa9","c3":"CR\u4e09\u56fd\u6f14\u7fa 9"}],"answer":"c2"} |
you can use command-line php to "echo json_decode($strJSON)->body;" or something like that.
|
| All times are GMT +1. The time now is 04:37 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.