to_json_generic#
- lsst.daf.butler.json.to_json_generic(self: SupportsSimple, minimal: bool = False) str#
Convert this class to JSON form.
The class type is not recorded in the JSON so the JSON decoder must know which class is represented.
Parameters#
- minimal
bool, optional Use minimal serialization. Requires Registry to convert back to a full type.
Returns#
- json
str The class in JSON string format.
- minimal