New topic Closed topic
avatar image
1
How do I get a value from JSON?
By Created , last editted

I have some JSON and want to get a specific value from it. Example:

{ "1":"one","2":"two","3":"three" }

How do I get the value of 2? And how do i save this to a property?


I have some JSON and want to get a specific value from it. Example:

{ "1":"one","2":"two","3":"three" }

How do I get the value of 2? And how do i save this to a property?

  • Avatar image
    If this JSON is the return of a web service, just create a custom model in de WS endpoint. Otherwise, Stephan's answer will do
    By
  • Login to reply
Answers
Sort by:

This topic is closed.