Creates a model schema that (de)serializes from / to plain javascript objects. Its factory method is: () => ({})
() => ({})
const todoSchema = createSimpleSchema({ title: true, done: true,})const json = serialize(todoSchema, { title: 'Test', done: false })const todo = deserialize(todoSchema, json)
model schema
property mapping,
Generated using TypeDoc
Creates a model schema that (de)serializes from / to plain javascript objects. Its factory method is:
() => ({})
Example
Returns
model schema