how to get POJO object in javascript from a JSON?

You can assign the JSON to an object and use objectName.propertyName e.g. obj.c

var obj = {
  "a": "123",
  "b": "rrdf",
  "c": {
    "french": "frnch",
    "german": "gmn",
    "spanish": "spns",
    "italian": "itln"
  }
}

console.log(obj.c);

Browse More Popular Posts

Leave a Comment