Json encode and decode: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Encode JSON data or decode JSON string | == Encode JSON data or decode JSON string == | ||
* PHP: [https://www.php.net/manual/en/function.json-encode.php json_encode] ↔ [https://www.php.net/manual/en/function.json-decode.php json_decode] | * PHP: [https://www.php.net/manual/en/function.json-encode.php json_encode] ↔ [https://www.php.net/manual/en/function.json-decode.php json_decode] | ||
| Line 5: | Line 5: | ||
* Python [https://docs.python.org/3/library/json.html json — JSON encoder and decoder — Python 3.9.5 documentation] | * Python [https://docs.python.org/3/library/json.html json — JSON encoder and decoder — Python 3.9.5 documentation] | ||
JSON viewer | == JSON viewer == | ||
* [http://jsonviewer.stack.hu/ Online JSON Viewer] | * [http://jsonviewer.stack.hu/ Online JSON Viewer] | ||
** Copy JSON path: not available | |||
* Using Google Chrome or Edge browser to load the JSON file at the computer -> DevTools -> Network: To preview the content of JSON file | * Using Google Chrome or Edge browser to load the JSON file at the computer -> DevTools -> Network: To preview the content of JSON file | ||
** Copy JSON path: | |||
* [http://www.smartjsoneditor.com/ Smart JSON Editor][https://apps.apple.com/tw/app/smart-json-editor/id1268962404?mt=12] by Jan Kubny Kubna on {{Mac}} | |||
** Copy JSON path: available {{gd}} | |||
* ''$'' [https://apps.apple.com/us/app/json-editor/id567740330?mt=12 JSON Editor] by VDT LABS S.R.L. on {{Mac}} | |||
** Copy JSON path: available {{gd}} | |||
Related pages | == Related pages == | ||
* [[Fix garbled message text]] | * [[Fix garbled message text]] | ||
Latest revision as of 12:15, 16 March 2023
Encode JSON data or decode JSON string[edit]
- PHP: json_encode ↔ json_decode
- JavaScript: JSON.stringify() ↔ JSON.parse()
- Python json — JSON encoder and decoder — Python 3.9.5 documentation
JSON viewer[edit]
- Online JSON Viewer
- Copy JSON path: not available
- Using Google Chrome or Edge browser to load the JSON file at the computer -> DevTools -> Network: To preview the content of JSON file
- Copy JSON path:
- Smart JSON Editor[1] by Jan Kubny Kubna on macOS
- Copy JSON path: available

- Copy JSON path: available
- $ JSON Editor by VDT LABS S.R.L. on macOS
- Copy JSON path: available

- Copy JSON path: available