pykson
pykson copied to clipboard
A JSON Serializer/Deserializer for Python
Fix #15 Signed-off-by: Patrick José Pereira
Signed-off-by: Patrick José Pereira
Signed-off-by: Patrick José Pereira
```python class Class1(pykson.JsonObject): variable_1 = pykson.IntegerField(default_value=1) class Class2(Class1): variable_2 = pykson.IntegerField(default_value=2) class Class3(Class2): variable_3 = pykson.IntegerField(default_value=3) class Class4(Class3): variable_4 = pykson.IntegerField(default_value=4) class_4 = Class4() print(Pykson().to_json(class_4)) ``` The following code returns:...
Hello, would you like to know if it would be possible to add a way to serialize a dictionary please? Because when I make this code, it works. `st =...
Hello is possible to have an overview of thé performance of this library? I need to serialize python object to send to an external server and deserialize its responses. For...
Signed-off-by: Patrick José Pereira
Signed-off-by: Patrick José Pereira
Field with a 2d array is not possible to map that I'm aware of