Could list responses also be converted to JSON automatically? #4533
MaicoTimmerman
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Because lists look too much like tuples, which already have a meaning. There is a lot of discussion in the PR that is linked from the commit you linked. #3111 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
In 7bf8366 dictionaries returned from view function are automatically converted to JSON. Is there a reason why we do not do the same for lists? According to RFC4627 an array is a valid top level JSON construct.
I'd be open to contribute a change for this.
Beta Was this translation helpful? Give feedback.
All reactions