[openstreetmap/openstreetmap-website] Added JSON support to user preferences (#3164)
Tom Hughes
notifications at github.com
Wed Apr 7 06:09:42 UTC 2021
Is there a reason not to just drop the `preference` containers and do a simple dictionary of key value pairs in the JSON output?
The `preference` is needed in XML to avoid having arbitrary elements but a dictionary would be the natural approach for JSON I think.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3164#issuecomment-814630859
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210406/27817d8a/attachment.htm>
More information about the rails-dev
mailing list