Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • did you use jsonpath??? It's a good plugin to manipulate json strings.... Commented Aug 7, 2013 at 8:44
  • @maverickosama92: isn't there any other way to do this other than having another plugin? Commented Aug 7, 2013 at 8:46
  • FWIW, that's not a JSON string, that's just a string. And I assume you already parsed the JSON data and work with nested objects (so the problem does not have anything to do with JSON). Have a look at Javascript: How to set object property given its string name for a start. Commented Aug 7, 2013 at 8:53
  • @FelixKling 'JSON string' was a careless mistake sry Commented Aug 7, 2013 at 8:57
  • I haven't worked much with nested JSON this is my first try with nested. Commented Aug 7, 2013 at 8:58