Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to JSON #2898

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Migrate to JSON #2898

merged 1 commit into from
Dec 20, 2024

Conversation

jonatanklosko
Copy link
Member

Since we already depend on Elixir 1.18, this replaces all usages of Jason with JSON.

Comment on lines +405 to +406
# Wraps JSON.protocol_encode/2 to encode maps as sorted objects
defp encode_sorting(term, encoder) when is_non_struct_map(term) do
Copy link
Member Author

@jonatanklosko jonatanklosko Dec 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This effectively reimplements the default map encoding, but it's not much code. If there is a better way to handle this, let me know!

Copy link

github-actions bot commented Dec 20, 2024

Uffizzi Preview deployment-59263 was deleted.

@jonatanklosko jonatanklosko merged commit 561b73a into main Dec 20, 2024
7 checks passed
@jonatanklosko jonatanklosko deleted the jk-json branch December 20, 2024 08:34
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.

2 participants