Syntax |
| |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Semantics | The operation
If the conversion is not possible, an error is raised.
You can hide attributes from being serialized by applying stereotype <<E2EPrivate>>. Refer to Hiding Attributes From Interfaces for more information. | |||||||||||||||||||||||||||
Substitutables | anObject | Any object. | ||||||||||||||||||||||||||
aString | Target Extended JSON document as String. | |||||||||||||||||||||||||||
format | String that specifies the format of the Extended JSON that should be produced (more details see options below). | |||||||||||||||||||||||||||
options | This optional parameter is an object of type ExtendedJSONComposerOptions. Its attributes are:
| |||||||||||||||||||||||||||
Examples |
|
For more information on Extended JSON refer to MongoDB Extended JSON.