MCPcopy
hub / github.com/microsoft/JARVIS / read_jsonline

Function read_jsonline

easytool/data_process.py:14–20  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

12
13
14def read_jsonline(address):
15 not_mark = []
16 with open(address, 'r', encoding="utf-8") as f:
17 for jsonstr in f.readlines():
18 jsonstr = json.loads(jsonstr)
19 not_mark.append(jsonstr)
20 return not_mark
21
22
23def read_json(address):

Callers 1

main.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected