MCPcopy Create free account
hub / github.com/python-jsonschema/jsonschema / load

Function load

jsonschema/cli.py:262–269  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

260 load, instances = outputter.load, arguments["instances"]
261 else:
262 def load(_):
263 try:
264 return json.load(stdin)
265 except JSONDecodeError as error:
266 outputter.parsing_error(
267 path="<stdin>", exc_info=sys.exc_info(),
268 )
269 raise _CannotLoadFile() from error
270 instances = ["<stdin>"]
271
272 resolver = _RefResolver(

Callers 1

runFunction · 0.85

Calls 3

_CannotLoadFileClass · 0.85
loadMethod · 0.80
parsing_errorMethod · 0.45

Tested by

no test coverage detected