Better control for class metadata ser/de and JsonP extension#133
Better control for class metadata ser/de and JsonP extension#133EugenCepoi merged 1 commit intomasterfrom
Conversation
…de when combining JsonP and classmetadata
|
I see what you are trying to do... I like the idea overall, although I do think it needs to be merged with the (new and improved) fix for #130 I'm working on. That should be easy enough to do, so go ahead and merge this in so I can pick it up, and I'll make sure everything works together the way it should. That said, I'm not sure it will help much with #123. Sure, it would allow me to eliminate direct reference to |
|
I thought this would be useful in general even outside of the PRs you are working on. In #127 it should allow you to avoid having the class metadata kick in when you deserialize to a JsonValue. It also fixes the problem with double class metadata that you were fixing by using a map. This also enables you to deserialize unknown types to JsonValue (and subclasses) instead of Map and others, which is what you describe in one of your comments here #131. In regards to
I was thinking that the evolvable component would be a simple impl of the unknown property handler that would come with the jsr 353 bundle or better with this new java-ee module. |
@HandleClassMetadata(serialization=true/false, deserialization=true/false)ClassMetadataConverterto kick in when we ser/de statically typed JsonValues