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

Use ensure_text in JSON codecs #207

Merged
merged 1 commit into from Nov 7, 2019
Merged

Use ensure_text in JSON codecs #207

merged 1 commit into from Nov 7, 2019

Conversation

jakirkham
Copy link
Member

Simplifies the JSON codecs a bit by using the ensure_text utility function to handle decoding bytes-like data to text. Pushes the coercion to ndarray under the hood as a result.

TODO:

  • Unit tests and/or doctests in docstrings
  • tox -e py37 passes locally
  • tox -e py27 passes locally
  • Docstrings and API docs for any new/modified user-facing classes and functions
  • Changes documented in docs/release.rst
  • tox -e docs passes locally
  • AppVeyor and Travis CI passes
  • Test coverage to 100% (Coveralls passes)

Simplifies the JSON codecs a bit by using the `ensure_text` utility
function to handle decoding `bytes`-like data to text. Pushes the
coercion to `ndarray` under the hood as a result.
@jakirkham jakirkham merged commit 3ebc2e7 into zarr-developers:master Nov 7, 2019
@jakirkham jakirkham deleted the json_use_ensure_text branch November 7, 2019 19:49
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.

None yet

1 participant