Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquebastos committed Feb 8, 2024
2 parents a4271b0 + dda12f8 commit 03b51e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'poetry'
- uses: pre-commit/[email protected]

testing:
Expand All @@ -26,7 +27,8 @@ jobs:
cache: 'poetry'
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
- name: Test with pytest
run: poetry run pytest
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# jsonstar: Extensible json module to serialize all objects.
# JSON* is an extensible json module to serialize all objects!

jsonstar extends Python's standard JSON encoder and decoder to easily handle your custom types.
`jsonstar` extends Python's standard JSON encoder and decoder to easily handle your custom types.

This means you won't have to transform your custom types into dictionaries with primitive types before encoding them to
JSON. And you won't have to parse back the encoded strings into your custom types after decoding them from JSON.
Expand Down Expand Up @@ -168,7 +168,6 @@ To register a functional encoder, you simply pass the encoder to the chosen regi
All functional encoders are called only for objects that do not have a registered typed encoder.
## Contributing
Pull requests are welcome and must have associated tests.
Expand Down

0 comments on commit 03b51e3

Please sign in to comment.