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
-
First off, if that is true, why is
java.lang.String
orjava.util.List
supported 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.Date
java.lang.Throwable
java.lang.CharSequence
The 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