MOP for structure-objects is supported for CLOSER-MOP + LispWorks 8.
It might be supported for earlier versions of LispWorks, but since they are not supported by CLOSER-MOP, I've added the lispworks8 feature explicitly.
I've tested the change with my LispWorks 8 (8.0.1 on macOS) installation successfully:
(defstruct my-struct a b c)
=> MY-STRUCT
(setq inst (make-my-struct :a 1 :b 2 :c "the letter c"))
=> #S(MY-STRUCT :A 1 :B 2 :C "the letter c")
(jzon:stringify inst)
=> "{\"a\":1,\"b\":2,\"c\":\"the letter c\"}"
MOP for structure-objects is supported for CLOSER-MOP + LispWorks 8.
It might be supported for earlier versions of LispWorks, but since they are not supported by CLOSER-MOP, I've added the
lispworks8
feature explicitly.I've tested the change with my LispWorks 8 (8.0.1 on macOS) installation successfully: