OCLOperators AsTaJson
No edit summary
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
<object>.AsTaJson(viewmodelname,skipempties)  
<object>.AsTaJson(viewmodelname,skipempties)  


Using the object as a root in the ViewModel creates a Json string using the ViewModel as a template.
Using the object as a root in the [[Documentation:ViewModel|ViewModel]] creates a Json string using the ViewModel as a template.


The skipempties parameter (bool) controls whether singlelinks and multilinks without content should still be represented in the Json or not.
The skipempties parameter (bool) controls whether singlelinks and multilinks without content should still be represented in the Json or not.


See [[Tajson]] for more information.
See [[Documentation:Tajson|Tajson]] for more information.
[[Category:OCLOperators]]
[[Category:OCL General Operators]]
[[Category:OCL General Operators]]
{{Edited|July|12|2025}}

Latest revision as of 05:11, 25 February 2025

This page was created by Lars.olofsson@mdriven.net on 2019-08-10. Last edited by Stephanie@mdriven.net on 2025-02-25.

<object>.AsTaJson(viewmodelname,skipempties)

Using the object as a root in the ViewModel creates a Json string using the ViewModel as a template.

The skipempties parameter (bool) controls whether singlelinks and multilinks without content should still be represented in the Json or not.

See Tajson for more information.