I'm trying to use FlexJSON to serialize a java object. The object has some top level fields and a collection called results. From within the collection I only want a few properties but all of them are being serialized. Here is the code I'm trying.
jsons = new JSONSerializer().include("results.ourID","results.name","results.fmtDistance","results.shows.showName","results.knownForNoHTML").exclude("results");
I've also tried results.* in the exclude. No luck - all of the results fields are serialized.