Replace with an array of properties to blacklist on toJSON
.
Replace with an array of properties to whitelist on toJSON
.
If visible
or hidden
are specified in the options
hash,
they're assumed to override whatever is on the model's prototype.
Checks the visible
and then hidden
properties to see if there are
any keys we don't want to show when the object is json-ified.
Visibility plugin -
Useful for hiding/showing particular attributes on
toJSON
.