Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
330
def
output_json(obj, stream):
331
json.dump(obj, stream, indent=4, sort_keys=True)
332
stream.write(
'\n'
)
333
stream.close()
334
335
336
def
main(args):
Callers
1
main
Function · 0.85
Calls
3
dump
Method · 0.80
write
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected