OCLOperators ViewModelAsJSon
(Created page with "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 o...")
 
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
Returns the ViewModel content as a Json formatted string.
Returns the ViewModel content as a Json formatted string.


==== Naming nodes ====
==== 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.
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, <code><span class="col-black">'''"-"'''</span></code> (dash) in the node name.
 
'''See also:''' [[Documentation:OCLOperators ViewModelAsXml|OCLOperators ViewModelAsXml]] to get the same information as XML.
[[Category:OCLOperators]]
[[Category:OCL ViewModel Operators]]
{{Edited|July|12|2025}}

Latest revision as of 05:44, 7 February 2025

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.