Sign in
Log inSign up

new to JS - JSON response parsing in JavaScript

SRM's photo
SRM
·Feb 7, 2017

Hello,

am an android developer, trying to learn Kony. I am using one open api. i dont know how to parse the json data in js as am completly new to js . what is the main difference between stringify and parse

my response : { "status": 1, "count": 2, "posts": [ { "days": { "details": [ { "place": "labs", "StartTime": "01:00:00", "EndTime": "02:00:00", "Description": "Meeting with team", "participants": [ { "Name": "KK", "Designation": "VP, Operations", "ContactNumber": "111" }, { "Name": "MN1", "Designation": "Project Lead", "ContactNumber": "111" } ] } ], "Date": [ "2017-02-02" ] }, "name": "test" }, { "days": { "details": [ { "place": "India", "StartTime": "01:00:00", "EndTime": "03:00:00", "Description": "Agenda1", "participants": [ { "Name": "Kk", "Designation": "VP, Operations", "ContactNumber": "11111" }, { "Name": "MN", "Designation": "Project Lead", "ContactNumber": "111" } ] }, { "place": "microsoft", "StartTime": "01:00:00", "EndTime": "02:00:00", "Description": "Meet CEO", "participants": [ { "Name": "VR", "Designation": "Project Lead", "ContactNumber": "111" } ] }, { "place": "microsoft", "StartTime": "01:00:00", "EndTime": "02:00:00", "Description": "Meet CEO", "participants": [ { "Name": " VR", "Designation": "Project Lead", "ContactNumber": "111" } ] }, { "place": "Formule", "StartTime": "10:50:00", "EndTime": "11:50:00", "Description": "Meet Rajesh", "participants": [ { "Name": "MN", "Designation": "Project Lead", "ContactNumber": "111" } ] }, { "place": "Dell", "StartTime": "04:00:00", "EndTime": "08:00:00", "Description": "Agenda 2", "participants": [ { "Name": "MN", "Designation": "Project Lead", "ContactNumber": "1111111" } ] } ], "Date": [ "2017-02-03" ] }, "name": "test" } ] }

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct