Lets assume following is my object model:
Person {
String name;
List<Address> addressesList;
}
Address
{
String field1;
String field2;
}
I am trying to serialize the Person object using flex JSon Serializer. I have some limit on the size of the serialized object, which can't be exceeded. What I want to do is truncate the addressesList (serilaize the less number of addresses), so that limit isn't exceeded. I am wondering if there is way aforementioned use case can be be implemented ?
Thanks