gaupol.config.EnumDecoder¶
Source: gaupol/config.py
Anchestors: json.decoder.JSONDecoder, builtins.object
- class gaupol.config.EnumDecoder¶
Methods¶
- EnumDecoder.__init__(*args, **kwargs)¶
Initialize an EnumDecoder instance.
kwargs should contain an “enum” key with a value of None if not decoding an enumeration or the corresponding aeidon.Enumeration instance if decoding an enumeration.
- EnumDecoder.decode(string)¶
Return Python object matching JSON string.