idmtools.utils.json module¶
JSON utilities for idmtools such as encoders and decoders.
Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.
- class idmtools.utils.json.IDMJSONEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None)¶
Bases:
json.encoder.JSONEncoder
IDMJSONEncoder handles encoding IDM specific items.
- default(o)¶
JSON Encode item.
- Parameters:
o – Object to encode
- Returns:
JSON encoded object