OCLOperators AsTaJson
(Replacing message template with parser tag)
No edit summary
Line 2: Line 2:
<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.

Revision as of 10:28, 1 December 2024

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.

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments