careful-address-89803
09/30/2022, 5:31 AMdataclasses.asdict
, which works well enough for dataclasses, but many of our types aren't (json) serialisable. Do we have a standard way of doing this? Should I write custom serialisable
methods? make a custom encoder for JSON?happy-kitchen-89482
09/30/2022, 2:08 PMJSONEncoder
in a few places, so I guess that?fast-nail-55400
09/30/2022, 2:55 PMto_json_dict
and from_json_dict
for many of the dataclasses (since the JSON format for BSP has differing case requirements).careful-address-89803
09/30/2022, 9:21 PMstr(address)
every time would be nice.
We might also want to centralise that, the other source-analysis plugins have an ad-hoc serialiser inside of the rule. maybe having a method/subclass for Console.