MCPcopy Create free account
hub / github.com/SeldonIO/seldon-server / json_to_dict

Function json_to_dict

python/seldon/shell/shell_main.py:164–165  ·  view source on GitHub ↗
(json_data)

Source from the content-addressed store, hash-verified

162 return [s[offs:] for s in completions if s.startswith(mline)]
163
164def json_to_dict(json_data):
165 return json.loads(json_data)
166
167def dict_to_json(d, expand=False):
168 return json.dumps(d, sort_keys=True, indent=4, separators=(',', ': ')) if expand else json.dumps(d, sort_keys=True, separators=(',',':'))

Callers 1

create_default_confFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected