Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chronoxor/FastBinaryEncoding
/ from_json
Method
from_json
projects/Python/proto/enums.py:1596–1597 ·
view source on GitHub ↗
(document)
Source
from the content-addressed store, hash-verified
1594
# Create struct from JSON value
1595
@staticmethod
1596
def
from_json(document):
1597
return
Enums.__from_json__(json.loads(document))
1598
1599
@staticmethod
1600
def
__from_json__(fields):
Callers
15
test_serialization_json_domain
Method · 0.45
test_serialization_json_struct_simple
Method · 0.45
test_serialization_json_struct_optional
Method · 0.45
test_serialization_json_struct_nested
Method · 0.45
test_serialization_json_struct_bytes
Method · 0.45
test_serialization_json_struct_array
Method · 0.45
test_serialization_json_struct_vector
Method · 0.45
test_serialization_json_struct_list
Method · 0.45
test_serialization_json_struct_set
Method · 0.45
test_serialization_json_struct_map
Method · 0.45
test_serialization_json_struct_hash
Method · 0.45
test_serialization_json_enums
Method · 0.45
Calls
1
__from_json__
Method · 0.45
Tested by
12
test_serialization_json_domain
Method · 0.36
test_serialization_json_struct_simple
Method · 0.36
test_serialization_json_struct_optional
Method · 0.36
test_serialization_json_struct_nested
Method · 0.36
test_serialization_json_struct_bytes
Method · 0.36
test_serialization_json_struct_array
Method · 0.36
test_serialization_json_struct_vector
Method · 0.36
test_serialization_json_struct_list
Method · 0.36
test_serialization_json_struct_set
Method · 0.36
test_serialization_json_struct_map
Method · 0.36
test_serialization_json_struct_hash
Method · 0.36
test_serialization_json_enums
Method · 0.36