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
The "additional keys" concept is more difficult to implement in Java than the previous details field of component-details.
Java frameworks don't consistently allow unknown fields to appear in JSON objects without special configurations or overrides.
A free form details or data field of type Map<String, Object> is preferable in more statically typed languages like Java and strictly schema validating frameworks like Java has.
The text was updated successfully, but these errors were encountered:
derekm
changed the title
"Additional Keys" instead of details in difficult for Java
"Additional Keys" instead of details is difficult for Java
Jul 22, 2020
The "additional keys" concept is more difficult to implement in Java than the previous
details
field ofcomponent-details
.Java frameworks don't consistently allow unknown fields to appear in JSON objects without special configurations or overrides.
A free form
details
ordata
field of typeMap<String, Object>
is preferable in more statically typed languages like Java and strictly schema validating frameworks like Java has.The text was updated successfully, but these errors were encountered: