msgspec icon indicating copy to clipboard operation
msgspec copied to clipboard

Does msgspec have a concept of schema mode?

Open pgjones opened this issue 1 year ago • 0 comments

Question

Is it possible when generating a JSON Schema to specify the mode as validation or serialization with the former representing what can be accepted and the latter what will be serialized. If that doesn't make sense I think it is better explained in the pydantic docs.

pgjones avatar May 15 '24 08:05 pgjones