I have hired a iOS developer to create an app which will be backed by the REST API. Now I'm stuck with a problem with one output.
There are Public and Private Groups, if group is Private, the API will return following in json format:
privacy":{"value":"1"},
and if the group is Public, the API will return following in json format:
"privacy":[]
The iOS developer says that this output is incorrect while on the other hand API developer believe this is correct output. Can anyone please tell me is this output correct to be used in iOS app or it's not correct?
iOS Developer days he can't compare String and Array.