jzon icon indicating copy to clipboard operation
jzon copied to clipboard

Conditions are not serialized

Open daninus14 opened this issue 3 months ago • 1 comments

Conditions work pretty much just like classes with their own quirks like accessors: https://lisp-docs.github.io/cl-language-reference/chap-9/j-c-dictionary/condition_condition-type

They do not seem to be serialized by jzon.

Can this feature be added? I think the code would be parallel to that of dealing with classes and just switching some of the accessors, though I'm no expert on conditions. I just want to serialize them to send them to json.

Thanks

daninus14 avatar Nov 19 '25 21:11 daninus14

Similar to structs, on implementations that support slot accessors on conditions can be supported. I believe that includes sbcl at least. Will need to check

Zulu-Inuoe avatar Nov 19 '25 21:11 Zulu-Inuoe