do we have any javascript / nodejs plug-ins to pick a given property?
Loading
do we have any javascript / nodejs plug-ins to pick a given property?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rijwan AnsariPosted Jun 22, 2021, 5:55 PM
Satya KarkiPosted Jun 22, 2021, 5:51 PM
Sachin SinghPosted Jun 22, 2021, 4:03 PM
there is a simple rule of thumb.
1. you can not get JSON value directly, so convert it into a javascript object, using Json.parse();
2. Javascript objects are accessed by dot (.)
3. Arrays are accessed by index ex:- array[1].
now apply that.