#377 - Add back support for JsonWriteBeanVisitor

This commit is contained in:
Robin Bygrave committed 2015-08-21 08:20:47 +12:00
1 parent 2caeb4fff1
commit 7c705e2baa
44 files changed
+997 -204

No files matched your search

@@ -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();
}
}