phil vd wrote:
Well, since you cast to ValueComposite on the second line of
ValueCompositeType.toJSON(), I don't see much choices... sounds like the
previous version is better?
BTW, it may be a good idea to add an Interface extending Serializable
property in your test suite in order to increase test coverage (point me to
the right test case and I'll do it)
Scratch last one, I've already fixed. I've added a new test explicitly
for JSON serialization of values, called
ValueCompositeSerializationTest. This includes a serialized type which
is referenced using just "Object" in the property.
I've also added new types for java.util.Date and EntityReference, so
that these two (which I think will be common to use) have nice JSON
representations (ISO6801 format with UTC timezone and the id string
respectively).
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev