Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ json
Method
json
core/src/stdlib/pyscript/fetch.py:141–143 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
139
return
await response.bytearray()
140
141
async
def
json(self):
142
response = await self._get_response()
143
return
await response.json()
144
145
async
def
text(self):
146
response = await self._get_response()
Callers
12
normalize
Function · 0.45
execute
Function · 0.45
sabayon.js
File · 0.45
sw.js
File · 0.45
test_fetch_json
Function · 0.45
test_fetch_json_direct
Function · 0.45
test_fetch_with_post_method
Function · 0.45
test_fetch_with_put_method
Function · 0.45
test_fetch_with_custom_headers
Function · 0.45
test_fetch_404_error_handling
Function · 0.45
test_fetch_direct_chaining_with_error
Function · 0.45
test_config_reads_expected_settings_correctly
Function · 0.45
Calls
1
_get_response
Method · 0.95
Tested by
8
test_fetch_json
Function · 0.36
test_fetch_json_direct
Function · 0.36
test_fetch_with_post_method
Function · 0.36
test_fetch_with_put_method
Function · 0.36
test_fetch_with_custom_headers
Function · 0.36
test_fetch_404_error_handling
Function · 0.36
test_fetch_direct_chaining_with_error
Function · 0.36
test_config_reads_expected_settings_correctly
Function · 0.36