MCPcopy
hub / github.com/engineer-man/youtube / output_json

Function output_json

stream019/process.py:9–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7reader = csv.DictReader(data)
8
9def output_json():
10 contents = json.dumps([row for row in reader], indent=4)
11 with open('data.json', 'w') as file:
12 file.write(contents)
13
14def output_xml():
15 xml = ['<?xml version="1.0" encoding="UTF-8"?>']

Callers 1

process.pyFile · 0.85

Calls 1

openFunction · 0.50

Tested by

no test coverage detected