karenetheridge / JSON-Schema-Modern

Validate data against a schema using a JSON Schema
https://metacpan.org/release/JSON-Schema-Modern/
Other
10 stars 1 forks source link

serialization hooks #63

Closed karenetheridge closed 2 years ago

karenetheridge commented 2 years ago

Sereal happily serializes an OpenAPI::Modern object (and containing document, and evaluator..), with just a few exceptions that need to be handled specially. we should instead use FREEZE/THAW methods to make this nicer.

https://metacpan.org/pod/Sereal::Encoder#FREEZE/THAW-CALLBACK-MECHANISM

karenetheridge commented 2 years ago
karenetheridge commented 2 years ago

done in 0.529.