Replies: 1 comment 4 replies
-
Because JSON has strings and lists. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First off, if that is true, why is
java.lang.Stringorjava.util.Listsupported as built-in types in the first place?I guess the point to be made here is that "reasonable defaults" is a better way to go. i.e. the default built-in types need to be expanded, such that it should just "work" for most common cases:
java.util.Datejava.lang.Throwablejava.lang.CharSequenceThe user should not have to "configure" in order to make the most basic things work. The current list of built-in adapters is too restricted to be reasonable.
Beta Was this translation helpful? Give feedback.
All reactions