Difference between revisions of "JSON"
Jump to navigation
Jump to search
(32 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[wikipedia:JSON]] (2000s) | |
− | [[wikipedia:JSON]] | ||
− | [[curl]] --header "Content-Type: application/json" \ | + | [[curl]] [[--header]] "[[Content-Type]]: application/json" \ |
--request POST \ | --request POST \ | ||
--data '{"username":"xyz","password":"xyz"}' \ | --data '{"username":"xyz","password":"xyz"}' \ | ||
http://localhost:3000/api/login | http://localhost:3000/api/login | ||
− | + | * <code>curl -H "Content-Type: application/json" --data @MY_FILE_WITH_DATA.json http://localhost:8080/ui/webapp/conf</code> | |
+ | |||
+ | * <code>[[jq]]: [[brew install jq]]</code> | ||
+ | * <code>[[jid]]: [[brew install jid]]</code> | ||
== Related terms == | == Related terms == | ||
− | * [[ | + | * [[Webhook]] |
− | * [[ | + | * <code>[[jq]], [[jid]], [[mlr]]</code> |
− | + | * <code>[[JSMin]]</code> | |
− | + | * [[HAR (file format)]] | |
− | + | * [[Django]] [[web framework]] | |
+ | * [[Python]]: <code>[[import json]]</code> | ||
+ | * [[Miller]] | ||
+ | * Line-delimited JSON: [[ndjson]] | ||
+ | * [[JSON-LD]] | ||
+ | * <code>[[to_nice_json]]</code> | ||
+ | * <code>[[Cannot unmarshal XXXXX into Go struct field]]</code> | ||
+ | * <code>[[.tf.json]]</code> | ||
+ | * [[Chrome]]: [[JSON Formatter]] | ||
== See also == | == See also == | ||
+ | * https://en.wikipedia.org/wiki/Comparison_of_data-serialization_formats | ||
* {{jq}} | * {{jq}} | ||
+ | * {{JSON}} | ||
+ | * {{XML}} | ||
+ | |||
+ | [[Category:JSON]] |
Latest revision as of 08:34, 16 March 2023
wikipedia:JSON (2000s)
curl --header "Content-Type: application/json" \ --request POST \ --data '{"username":"xyz","password":"xyz"}' \ http://localhost:3000/api/login
curl -H "Content-Type: application/json" --data @MY_FILE_WITH_DATA.json http://localhost:8080/ui/webapp/conf
Related terms[edit]
- Webhook
jq, jid, mlr
JSMin
- HAR (file format)
- Django web framework
- Python:
import json
- Miller
- Line-delimited JSON: ndjson
- JSON-LD
to_nice_json
Cannot unmarshal XXXXX into Go struct field
.tf.json
- Chrome: JSON Formatter
See also[edit]
- https://en.wikipedia.org/wiki/Comparison_of_data-serialization_formats
jq
, JSON,jq -r, jq -c, jid
- JSON,
jq, jid, mlr
, JWT, BSON, Miller, Content-type:,application/json
,BadJSON
, Webhook, jsonc, ndjson,import json
, Google Custom Search JSON API,jsonpath
, JSON-LD, JSON tree, JSON-RPC - XML, AJAX,
libxml2
, Expat,XMLHttpRequest (HTR), XXE
Advertising: