MCPcopy Index your code
hub / github.com/plotly/dash / safe_json_loads

Function safe_json_loads

dash/development/component_generator.py:182–186  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

180
181
182def safe_json_loads(s):
183 jsondata_unicode = json.loads(s, object_pairs_hook=OrderedDict)
184 if sys.version_info[0] >= 3:
185 return jsondata_unicode
186 return byteify(jsondata_unicode)
187
188
189def component_build_arg_parser():

Callers 1

generate_componentsFunction · 0.85

Calls 1

byteifyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…