Skip to content

Commit b63feac

Browse files
Fix README to remove decoders.
1 parent b275ac9 commit b63feac

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# JSON* is an extensible json module to serialize all objects!
22

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

55
This means you won't have to transform your custom types into dictionaries with primitive types before encoding them to
6-
JSON. And you won't have to parse back the encoded strings into your custom types after decoding them from JSON.
6+
JSON.
77

88
## How to install it?
99

@@ -168,6 +168,10 @@ To register a functional encoder, you simply pass the encoder to the chosen regi
168168
169169
All functional encoders are called only for objects that do not have a registered typed encoder.
170170
171+
## What about JSON decoders?
172+
173+
At the moment `jsonstar` do not provide decoders because libraries like `Pydantic` and `Attrs` with `Catter` allows for a more fine-grained control on how data is desserialized.
174+
171175
## Contributing
172176
Pull requests are welcome and must have associated tests.
173177

0 commit comments

Comments
 (0)