You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to have something similar like Jackson kind of configuration options in json library
Naming Strategy
Ignore null
Accept single value as array
Fail on unknown properties.
Map unknown properties in a known json to different section.
These all are very useful handy configuration when we deal with serializations and de-serializations.
Can we get this supports added to the existing json library.
The text was updated successfully, but these errors were encountered:
ysaakpr
changed the title
Proposal: Json Filed Naming strategy
Proposal: Json Field Naming strategy
Jul 30, 2016
I think this is a dupe of #16426. You can already do 2 and 3 by implementing the Unmarshaler interface, and you can do 1 with struct tags. 4 and 5 are part of #16426.
Is it possible to have something similar like Jackson kind of configuration options in json library
These all are very useful handy configuration when we deal with serializations and de-serializations.
Can we get this supports added to the existing json library.
The text was updated successfully, but these errors were encountered: