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:
Sean Breckenridge 2021-03-19 17:48:03 -07:00 committed by GitHub
parent 02a9fb5e8f
commit eb26cf8633
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 224 additions and 24 deletions

View file

@ -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
View file

@ -0,0 +1 @@
from my.core.serialize import *