Friday, 5 May 2017

Single value from json array using nodejs

so i have this data which is outputted from stringify(doc)

{
  "id": "8467fdae-c38c-4b6e-9492-807d7c9eb97e",
  "message": "send to nodejs"
}

but im not sure how can i go ahead in getting a single value from it, e.g message. Any help would be appreciated as ive tried different methods and they seem to not be working



via Brad m

No comments:

Post a Comment