Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/plotly/plotly.py
/ to_json_test
Function
to_json_test
tests/test_io/test_to_from_plotly_json.py:30–31 ·
view source on GitHub ↗
(value, pretty=False)
Source
from the content-addressed store, hash-verified
28
29
30
def
to_json_test(value, pretty=False):
31
return
json.dumps(value, **build_json_opts(pretty=pretty))
32
33
34
def
isoformat_test(dt_value):
Callers
5
build_test_dict_string
Function · 0.85
test_numeric_numpy_encoding
Function · 0.85
test_numpy_unicode_encoding
Function · 0.85
test_object_numpy_encoding
Function · 0.85
test_datetime_arrays
Function · 0.85
Calls
1
build_json_opts
Function · 0.85
Tested by
no test coverage detected