Helper method to properly encode objects to JSON string
(cls, obj: Any, **kwargs: Any)
| 49 | |
| 50 | @classmethod |
| 51 | def dumps(cls, obj: Any, **kwargs: Any) -> str: |
| 52 | """Helper method to properly encode objects to JSON string""" |
| 53 | return json.dumps(obj, cls=cls, **kwargs) |
no outgoing calls