(json_data)
| 162 | return [s[offs:] for s in completions if s.startswith(mline)] |
| 163 | |
| 164 | def json_to_dict(json_data): |
| 165 | return json.loads(json_data) |
| 166 | |
| 167 | def 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=(',',':')) |
no outgoing calls
no test coverage detected