Skip to content

Conversation

mikeantonacci
Copy link

Import Data.Map.Strict and use Map instead [(String, JsonValue)] for the JsonObject.

As a side effect, duplicate keys are handled in jsonObject by fromList with the same behavior as JavaScript, i.e. "If the list contains more than one value for the same key, the last value for the key is retained."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant