MCPcopy Index your code
hub / github.com/bugy/script-server / loads

Function loads

src/utils/custom_json.py:4–9  ·  view source on GitHub ↗
(content, **args)

Source from the content-addressed store, hash-verified

2import re
3
4def loads (content, **args):
5 contents=''
6 for line in content.split('\n'):
7 if not re.match (r'\s*//.*', line):
8 contents += line + "\n"
9 return json.loads(contents, **args)

Callers

nothing calls this directly

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected