Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
2
import
re
3
4
def
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
match
Method · 0.80
Tested by
no test coverage detected