JSON
//if you are writing a JSON file and want to check if you have made it right go to
//JSONLint and past your JSON text in and it will find mistakes in it
rumbo
//if you are writing a JSON file and want to check if you have made it right go to
//JSONLint and past your JSON text in and it will find mistakes in it
JavaScript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax.
Stands for JavaScript Object Notation.
{"request":{"type":"City","query":"Alappuzha, India","language":"en","unit":"m"},"location":{"name":"Alappuzha","country":"India","region":"Kerala","lat":"9.494","lon":"76.328","timezone_id":"Asia\/Kolkata","localtime":"2021-07-14 22:08","localtime_epoch":1626300480,"utc_offset":"5.50"},"current":{"observation_time":"04:38 PM","temperature":25,"weather_code":302,"weather_icons":["https:\/\/assets.weatherstack.com\/images\/wsymbols01_png_64\/wsymbol_0034_cloudy_with_heavy_rain_night.png"],"weather_descriptions":["Mist, Rain"],"wind_speed":6,"wind_degree":120,"wind_dir":"ESE","pressure":1008,"precip":1.7,"humidity":94,"cloudcover":100,"feelslike":27,"uv_index":1,"visibility":4,"is_day":"no"}}
{
"id": "1",
"name": "Peter Paul",
"description": "I will like to purchace an apple",
"price": 10,
"itemCount": 2,
"isActive": true,
"CreatedDateTime": "2021-08-06T14:23:42.483Z",
"ModifiedDateTime": "2021-08-06T14:23:42.483Z"
}
{"name":"RequestError","message":"Error: connect ETIMEDOUT 134.209.129.162:443","cause":{"errno":-4039,"code":"ETIMEDOUT","syscall":"connect","address":"134.209.129.162","port":443},"error":{"errno":-4039,"code":"ETIMEDOUT","syscall":"connect","address":"134.209.129.162","port":443},"options":{"uri":"https://api.scraperapi.com?api_key85d5cfd3b8344394de70da41e8666e26&autoparse=true&url = https://www.walmart.com/183617532","simple":true,"resolveWithFullResponse":false,"transform2xxOnly":false}}
{
"message":"API endpoint not implemented",
}
{
"team":"My team",
"balance":1000000,
"pending_balance":0,
"payment_model":"PREPAY"
}
GET https://newsapi.org/v2/top-headlines/sources?apiKey=API_KEY
#you can save only those attributes which are json serialisable only