
1
How do I get a value from JSON?
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?
-
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
Answers
Sort by: