MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / output_json

Function output_json

tools/gen_struct_info.py:330–333  ·  view source on GitHub ↗
(obj, stream)

Source from the content-addressed store, hash-verified

328
329
330def output_json(obj, stream):
331 json.dump(obj, stream, indent=4, sort_keys=True)
332 stream.write('\n')
333 stream.close()
334
335
336def main(args):

Callers 1

mainFunction · 0.85

Calls 3

dumpMethod · 0.80
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected