Filter and Store JSON values in NSArray
I'm getting a number of JSON values from a server, I want to Parse the
JSON data's and filter them with respective to values of a single KEY. The
JSON Value is somewhat looks like
[{"id":8,"name":"General","visible":1,"summary":"","summaryformat":1,"modules":""},{"id":9,"name":"section01","visible":0,"summary":"","summaryformat":1,"modules":""}]
in the above like JSON value i want to split the values with respective to
key "visible"
if visible = 0, i want to store them and if visible = 1, i should not
store the value in array.
need some help.
No comments:
Post a Comment