What is a JSON format
Land Your First Data Science Job
A proven roadmap to prepare for $75K+ entry-level data roles. Perfect for Data Scientist ready to level up their career.
JSON format is an industry standard.
It is a data format, mainly used to exchange data on the web.
Example:
- Facebook.com when you request your profile
- Youtube.com when you ask for new videos
A lot of services rely on JSON data format.
What does it look like ?
{
"Address": "9611-9809 West Rosedale Road",
"Longitude": -98.5259864,
"Email": "[email protected]",
"Created At": "2017-10-07T01:34:35.462",
"Password": "ccca881f-3e4b-4e5c-8336-354103604af6",
"Source": "Twitter",
"ID": 1,
"Zip": "68883",
"Latitude": 40.71314890000001,
"Birth Date": "1986-12-12",
"City": "Wood River",
"State": "NE",
"Name": "Hudson Borer"
}
It works in a key:value format.
as so...
{
"key": "value"
}
This format is easily readable in any programming language, but in Python it looks like this.
It can be read from a file :
Or from a Python string :
Land Your First Data Science Job
A proven roadmap to prepare for $75K+ entry-level data roles. Perfect for Data Scientist ready to level up their career.
Related Articles
Continue your learning journey with these related topics
Master Data Science in Days, Not Months 🚀
Skip the theoretical rabbit holes. Get practical data science skills delivered in bite-sized lessons – Approach used by real data scientist. Not bookworms. 📚