Remix.run Logo
jmugan a day ago

Ah, but I need something JSON-based.

not_skynet 21 hours ago | parent [-]

It does allow dumping to/recovering from json, apologies if that isn't well documented.

Calling `x: str = json.dumps(MyClass(...).serialize())` will get you json you can recover to the original object, nested classes and custom types and all, with `MyClass.load(json.loads(x))`