I got JSON document with search parameters (?) from database maintainer. It looks similar to JSON string in this post. As I understand, I can use this JSON to perform searches in my iOS application. But I have no idea how to do that. I found AGSFindParameters class, and it has method initWithJSON. So far I can suspect I should pass my JSON to this method and thus create parameters for AGSFindTask. However, AGSFindTask needs an URL for init method. I've tried to pass there URLs for feature layers, etc, but I always getting error "Invalid URL". What I'm doing wrong and how I should use JSON to do predefined searches?
If you want use predefined search with feature layer then you should use query methods on find (find task/parameters). You can use AGSQuery's initWithJSON method to and then execute query with query methods.