The current docs do not give an example of serialization support for JSON. I attempted to use Marshmallow's dumps feature ```python db.MyModel.Schema.dumps(someInstanceOfMyModel) # throws this error: TypeError: dumps() missing 1 required positional argument: 'obj' marshmallow ``` But received an error. I am currently using `someInstanceOfMyModel._raw` to get the data for JSON output. **Feature Request** Add a expose a dumps method to get a dict. ```python db.MyModel.dumps(someInstanceOfMyModel) ```
The current docs do not give an example of serialization support for JSON.
I attempted to use Marshmallow's dumps feature
But received an error. I am currently using
someInstanceOfMyModel._rawto get the data for JSON output.Feature Request
Add a expose a dumps method to get a dict.