Json encode and decode: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
mNo edit summary
 
(2 intermediate revisions 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]


Online JSON viewer
== JSON viewer ==
* [http://jsonviewer.stack.hu/ Online JSON Viewer]
* [http://jsonviewer.stack.hu/ Online JSON Viewer]
** Copy JSON path: not available


Related pages
* 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 ==
* [[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]

JSON viewer[edit]

  • 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:
  • $ JSON Editor by VDT LABS S.R.L. on macOS icon_os_mac.png
    • Copy JSON path: available Good.gif

Related pages[edit]