MCPcopy Create free account
hub / github.com/cassiel/net.loadbang.jython / safeRead

Function safeRead

examples/max5/minjson.py:257–304  ·  view source on GitHub ↗

read the js, first sanitizing a bit and removing any c-style comments If the input is a unicode string, great. That's preferred. If the input is a byte string, strings in the object will be produced as unicode anyway.

(aString, encoding=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

JSONReaderClass · 0.85
outputMethod · 0.80

Tested by

no test coverage detected