I know how to serialize a single object and then convert it into a json. But I want serialize multiple objects of model (using the serializer) and build a response that contains a json object array?
Is there a direct way of doing it? Or is there a way to make a json array with multiple json objects?