|
Syntax |
|
||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Semantics |
The operation In opposition to classToJSON, If the conversion is not possible, an error is raised.
Runtimes before 2023.1 Trying to serialize a cyclic structure leads to a service crash. You can hide attributes from being serialized by applying stereotype <<E2EPrivate>>. Refer to Attribute Specification > Hiding Attributes From Interfaces for more information. |
||||||||||||||||||||||||||
|
Substitutables |
|
Any object. |
|||||||||||||||||||||||||
|
|
Target Extended JSON document as String. |
||||||||||||||||||||||||||
|
|
String that specifies the format of the Extended JSON that should be produced (more details see |
||||||||||||||||||||||||||
|
|
This optional parameter is an object of type ExtendedJSONComposerOptions.
Its attributes are:
|
||||||||||||||||||||||||||
|
Examples |
|
||||||||||||||||||||||||||
For more information on Extended JSON refer to MongoDB Extended JSON.