Wednesday, 10 May 2017

how to get POJO object in javascript from a JSON?

I have a JSON :

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

I want to extract the value of c(which is very complex) as this:::

{french=frnch,
  german=gmn",
  spanish=spns",
  italian=itln"}



via user37969

No comments:

Post a Comment