Explanation:
JSONModel model represents a JSON object - it matches JSON keys to a model class's properties. That's why for examples you cannot directly create a JSONModel class that matches a JSON feed whose top object is an array. For example:
[obj1, obj2, obj3, etc ...]
There's just no key to match to a property.
Now what you are asking about is the same situation, but in reverse. You cannot export an NSArray to JSON, because there's no JSONModel to take care of it. If you have a model with one property, which is an NSArray - then it's easy. The property will get mapped to 1 JSON key and the NSArray contents will get exported as its contents.
Solution:
If you have an NSArray containing JSONModel instances, you should use the following method:
NSArray* jsonObjects = [YourModelClass arrayOfDictionariesFromModels: modelObjects];
The line above will take care to properly export model classes to dictionaries, then you can export jsonObjects to JSON by using NSJSONSerialization.
Here's the method's docs:
http://www.jsonmodel.com/docs/Classes/JSONModel.html#//api/name/arrayOfDictionariesFromModels: