Json encode and decode: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| 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] on {{Mac}} | |||
** Copy JSON path: available {{gd}} | |||
* ''$'' [https://apps.apple.com/us/app/json-editor/id567740330?mt=12 JSON Editor] on {{Mac}} by VDT LABS S.R.L. | |||
** Copy JSON path: available {{gd}} | |||
Related pages | == Related pages == | ||
* [[Fix garbled message text]] | * [[Fix garbled message text]] | ||
Revision as of 12:14, 16 March 2023
Encode JSON data or decode JSON string
- PHP: json_encode ↔ json_decode
- JavaScript: JSON.stringify() ↔ JSON.parse()
- Python json — JSON encoder and decoder — Python 3.9.5 documentation
JSON viewer
- 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] on macOS
- Copy JSON path: available

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

- Copy JSON path: available