to_json_pydantic

lsst.daf.butler.json.to_json_pydantic(self: SupportsSimple, minimal: bool = False) str

Convert this class to JSON assuming that the to_simple() returns a pydantic model.