#377 - Add back support for JsonWriteBeanVisitor

This commit is contained in:
Robin Bygrave
2015-08-21 08:20:47 +12:00
parent 2caeb4fff1
commit 7c705e2baa
44 changed files with 997 additions and 204 deletions
@@ -179,12 +179,12 @@ public final class BeanMapHelp<T> implements BeanCollectionHelp<T> {
}
if (!map.isEmpty() || ctx.isIncludeEmpty()) {
ctx.writeStartArray(name);
ctx.beginAssocMany(name);
for (Entry<?, ?> entry : map.entrySet()) {
//FIXME: json write map key ...
targetDescriptor.jsonWrite(ctx, (EntityBean) entry.getValue());
}
ctx.writeEndArray();
ctx.endAssocMany();
}
}