All Questions
Tagged with python-attrs json-deserialization
2
questions
7
votes
1
answer
5k
views
How to deserialise enumeration with string representation?
I would like to create a class, which has an enumeration as an attribute.
This enumeration should have a string representation that shows up as human-readable value when dumping the instance of the ...
3
votes
2
answers
2k
views
any cattrs solution to serialize attribute use different name?
i was trying to find a solution similar to java Jackson ObjectMapper that can do serialization/deserialization of python object to json. and find that
cattrs is closest to what i need. but it cannot ...