Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blockfrost/blockfrost-python
/ convert_json_to_object
Function
convert_json_to_object
blockfrost/utils.py:36–37 ·
view source on GitHub ↗
(json_response)
Source
from the content-addressed store, hash-verified
34
35
36
def
convert_json_to_object(json_response):
37
return
json.loads(json.dumps(json_response), object_hook=
lambda
d: Namespace(**d))
38
39
40
def
convert_json_to_pandas(json_response):
Callers
15
test_default_mapper
Function · 0.90
test_object_mapper
Function · 0.90
test_genesis
Function · 0.90
test_health
Function · 0.90
test_clock
Function · 0.90
test_epoch_latest
Function · 0.90
test_epoch_latest_parameters
Function · 0.90
test_epoch
Function · 0.90
test_epochs_next
Function · 0.90
test_epochs_previous
Function · 0.90
test_epoch_stakes
Function · 0.90
test_epoch_pool_stakes
Function · 0.90
Calls
1
Namespace
Class · 0.85
Tested by
15
test_default_mapper
Function · 0.72
test_object_mapper
Function · 0.72
test_genesis
Function · 0.72
test_health
Function · 0.72
test_clock
Function · 0.72
test_epoch_latest
Function · 0.72
test_epoch_latest_parameters
Function · 0.72
test_epoch
Function · 0.72
test_epochs_next
Function · 0.72
test_epochs_previous
Function · 0.72
test_epoch_stakes
Function · 0.72
test_epoch_pool_stakes
Function · 0.72