OCLOperators AsTaJson
No edit summary
(Automatically adding template at the end of the page.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<object>.AsTaJson(viewmodelname,skipempties)  
<object>.AsTaJson(viewmodelname,skipempties)  


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


The skipempties parameter (bool) controls if single and multilinks without content still should 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 [[Tajson]] for more information.
[[Category:OCLOperators]]
[[Category:OCL General Operators]]
{{Edited|July|12|2024}}

Latest revision as of 15:38, 10 February 2024

<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.

This page was edited 93 days ago on 02/10/2024. What links here