MCPcopy Create free account
hub / github.com/httpie/cli / interpret_nested_json

Function interpret_nested_json

httpie/cli/nested_json/interpret.py:23–27  ·  view source on GitHub ↗
(pairs: Iterable[Tuple[str, str]])

Source from the content-addressed store, hash-verified

21
22
23def interpret_nested_json(pairs: Iterable[Tuple[str, str]]) -> dict:
24 context = None
25 for key, value in pairs:
26 context = interpret(context, key, value)
27 return wrap_with_dict(context)
28
29
30def interpret(context: Any, key: str, value: Any) -> Any:

Callers 1

Calls 2

interpretFunction · 0.85
wrap_with_dictFunction · 0.85

Tested by

no test coverage detected