hydra.json.decoding module
Decoding functions for JSON data.
- hydra.json.decoding.decode_array(decode_elem: Callable[[Value], object], v1: Value) object
Decode a JSON array using a decoder for elements.
- hydra.json.decoding.decode_field(decode_value: Callable[[T0], object], name: str, m: Mapping[str, T0]) object
Decode a required field from a JSON object.
- hydra.json.decoding.decode_object(v1: Value) object
Decode a JSON object value to a name-keyed map. Field order is not preserved; decoding looks fields up by name.