How to create a JSON file?
How to create a JSON file?
Are you looking for .JSON Files then It’s Here.
The JSON file is a Containing JSON Object and Array.
The MIME type for JSON text is “application/JSON”
Let’s start creating a JSON file:
You just need to open any text editor paste the below code and save that file with the .json extension that’s it, your JSON file is ready.
You can save this file like sample-json.json.
{
"firstName": "Rack",
"lastName": "jackson",
"gender": "man",
"age": 24,
"address": {
"streetAddress": "126 Udhna",
"city": "san jone",
"state": "CA",
"postalCode": "394221"
},
"phoneNumbers": [
{ "type": "home", "number": "7383627627" }
]
}
No comments:
Post a Comment
HAPPY TO HELP YOU ANY TIME ANYWHERE AND IF YOU WANT TO LEARN ANYTHING FROM US YOU CAN REACH US AT SONIKA987@GMAIL.COM