Required correct JSON format

VIKAS MISHRA
Tera Contributor

Below is the JSON format that i am using in rest API explorer, but i have doubt that this is not correct JSON format, please check is there is any mistake and help me.

 

 

{ 
"records": 
[ 
{ 
"from_date":"20191017T010000", 
"to_date":"20191018T030000" 
} 
] 
}

 

5 REPLIES 5

Juhi Poddar
Kilo Patron
Kilo Patron

Hello @VIKAS MISHRA 

Yes, the JSON you provided is valid. Here's the same data, formatted for readability:

{
  "records": [
    {
      "from_date": "20191017T010000",
      "to_date": "20191018T030000"
    }
  ]
}

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar