OCLOperators ViewModelAsJSon
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page was created by Lars.olofsson@mdriven.net on 2019-03-28. Last edited by Stephanie@mdriven.net on 2025-02-07.

Returns the ViewModel content as a Json formatted string.

Naming Nodes

If you set the Presentation name of the ViewModel attribute, that name will be used instead of the ViewModel attribute name. This enables you to have, for example, "-" (dash) in the node name.

See also: OCLOperators ViewModelAsXml to get the same information as XML.