

@property
def json(self):
    return dict(((name, (value if isinstance(value, (str, int, float, Decimal, list, dict)) else (sorted(value) if isinstance(value, set) else str(value)))) for (name, value) in self.__dict__.items()))

dataset/ETHPy150Open Arelle/Arelle/arelle/plugin/validate/EFM/__init__.py Report.json/original