Uh oh!
There was an error while loading. Please reload this page.
WIP: Add custom json encoder and decoder - #533
Closed
constantinpape wants to merge 1 commit into
Closed
Conversation
jakirkham
commented
Jan 23, 2020
Member
Should the encoder/decoder bits be moved to Numcodecs? |
constantinpape
commented
Jan 23, 2020
Author
Happy to move it there if you think that would make more sense. Would you put it here? |
constantinpape
commented
Jan 24, 2020
Author
Tests pass, so the solution seems to be viable. |
joshmoore
commented
May 6, 2022
Member
Sorry, @constantinpape. Somehow I missed this when reviewing #933 which maybe should been considered together. |
joshmoore
commented
Sep 8, 2022
Member
Zarr/JSON encoding came up again yesterday during the community call. I will try to resolve the conflicts here and see how things stand. |
jhamman
commented
Dec 7, 2023
Member
This has unfortunately gone stale. Will it be revived or should we close this? |
jhamman
commented
Feb 13, 2024
Member
Closing this out as stale. We'll keep the feature request open. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add custom
JsonEncoder/JsonDecoderto properly handle nan and inf attributes, see #412.Also adds a test to ensure these values are properly encoded / decoded.
This is still WIP because:
zarr.util.json_dumps/json_loadsTODO: