Hi Sebastian
I am not fan of that - Mark knows ;) - and in particular now I'm sure we
shouldnt do it: the 0-day vulnerability is still there and you open the
door to the same issue or a complicated config adding this feature in
something as generic as jsonb.
Le 19 mars 2016 21:28, "Sebastian Daschner" <java_at_sebastian-daschner.de> a
écrit :
> 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
>
>