Skip to content

Instantly share code, notes, and snippets.

@Taiizor
Last active May 10, 2023 21:47
Show Gist options
  • Save Taiizor/8117ad6aeca24872f981dd769fed7807 to your computer and use it in GitHub Desktop.
Save Taiizor/8117ad6aeca24872f981dd769fed7807 to your computer and use it in GitHub Desktop.
Taiizor JavaScript Object Notation
{
"name": "Taiizor",
"age": 24,
"isMarried": false,
"hobbies": ["reading", "music", "travel"],
"address": {
"city": "New York",
"state": "NY",
"zip": "10001"
}
}
{
"name": {
"type": "string",
"value": "Taiizor"
},
"age": {
"type": "integer",
"value": 24
},
"isMarried": {
"type": "boolean",
"value": false
},
"hobbies": {
"type": "array",
"value": ["reading", "music", "travel"]
},
"address": {
"type": "dictionary",
"value": {
"city": "New York",
"state": "NY",
"zip": "10001"
}
}
}
[
{
"name": {
"value": "Taiizor",
"type": "string"
},
"age": {
"value": 24,
"type": "integer"
},
"isMarried": {
"value": false,
"type": "boolean"
},
"hobbies": {
"value": ["reading", "music", "travel"],
"type": "array",
"subtype": "string"
},
"address": {
"value": {
"city": "New York",
"state": "NY",
"zip": "10001"
},
"type": "dictionary",
"subtype": {
"key": "string",
"value": "string"
}
}
}
]
"name" => "string" => "Taiizor"
"age" => "integer" => "24"
"isMarried" => "boolean" => "false"
"hobbies" => "array" => "reading, music, travel"
"address" => "dictionary<string, string>" => "["city" => "New York", "state" => "NY", "zip" => "10001"]"
name,string,Taiizor
age,integer,24
isMarried,boolean,false
hobbies,array,reading|music|travel
address,dictionary<string-string>,city=New York|state=NY|zip=10001
name:str:Taiizor
age:int:24
isMarried:bool:false
hobbies:arr:reading,music,travel
address:dict:city=New York,state=NY,zip=10001
Key:
name:0
age:1
isMarried:2
isMarried2:2
hobbies:3
address:4
Value:
0:Taiizor
1:24
2:false
3:reading, music, travel
4:city=New York,state=NY,zip=10001
Key:
name:0
age:1
isMarried:2
isMarried2:2
hobbies:3
address:4
Value:
Taiizor
24
false
reading, music, travel
city=New York,state=NY,zip=10001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment