Skip to content

Model toJSON : false setting #112

@gaperton

Description

@gaperton

Sometimes only a few attributes needs to be serialized. Usually happens in models representing UI state. Thus, model spec becomes too clumsy.

Support following Model.toJSON option:

toJSON : false, // mark all attributes except id as toJSON( false ) by default 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions