my.core.serialize: orjson with additional default and _serialize hook (#140)
basic orjson serialize, json.dumps fallback
Lots of surrounding changes from this discussion:
0593c69056
This commit is contained in:
parent
02a9fb5e8f
commit
eb26cf8633
8 changed files with 224 additions and 24 deletions
|
@ -18,3 +18,4 @@ from my.core.util import *
|
|||
from my.core.discovery_pure import *
|
||||
from my.core.types import *
|
||||
from my.core.stats import *
|
||||
from my.core.serialize import test_serialize_fallback
|
||||
|
|
1
tests/serialize.py
Normal file
1
tests/serialize.py
Normal file
|
@ -0,0 +1 @@
|
|||
from my.core.serialize import *
|
Loading…
Add table
Add a link
Reference in a new issue