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

Function load_json_preserve_order_and_dupe_keys

httpie/utils.py:72–73  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

70
71
72def load_json_preserve_order_and_dupe_keys(s):
73 return json.loads(s, object_pairs_hook=JsonDictPreservingDuplicateKeys)
74
75
76def repr_dict(d: dict) -> str:

Callers 3

test_valid_itemsMethod · 0.90
load_prefixed_jsonFunction · 0.85
load_jsonFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_valid_itemsMethod · 0.72