def to_json(self, indent=4, **extra_kwargs):
        obj = {k: getattr(self, k)
               for k in IntrinsicParameters.ALL_PARAMS}
        if extra_kwargs:
            obj.update(extra_kwargs)
        return json.dumps(obj, sort_keys=True, indent=indent)
Convert paramters to a JSON-encoded string
dataset/ETHPy150Open seanbell/intrinsic/bell2014/params.py/IntrinsicParameters.to_json