MCPcopy
hub / github.com/httpie/cli / process_data_embed_raw_json_file_arg

Function process_data_embed_raw_json_file_arg

httpie/cli/requestitems.py:197–200  ·  view source on GitHub ↗
(arg: KeyValueArg)

Source from the content-addressed store, hash-verified

195
196
197def process_data_embed_raw_json_file_arg(arg: KeyValueArg) -> JSONType:
198 contents = load_text_file(arg)
199 value = load_json(arg, contents)
200 return value
201
202
203def process_data_raw_json_embed_arg(arg: KeyValueArg) -> JSONType:

Callers

nothing calls this directly

Calls 2

load_text_fileFunction · 0.85
load_jsonFunction · 0.85

Tested by

no test coverage detected