users@jsonb-spec.java.net

[jsonb-spec users] Java polymorphism support

From: Sebastian Daschner <java_at_sebastian-daschner.de>
Date: Sat, 19 Mar 2016 21:27:32 +0100

Hi experts,

I don't know whether this has been discussed in the mailing list before
but a needed functionality would be to specify the Java type of
properties in the serialized JSON.

As JSON doesn't standardize comments or other "attributes" (like XML
does) a "magic property" could be added.

Please see the proposal (explored by Mark Struberg, Reinhard Sandtner
and myself) on my blog:
https://blog.sebastian-daschner.com/entries/json_mapping_polymorphism_support

WDYT?


Cheers,
Sebastian