OCLOperators AsTaJson
(Automatically adding template at the end of the page.)
(Adding message template to the top of the page)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<object>.AsTaJson(viewmodelname,skipempties)  
<object>.AsTaJson(viewmodelname,skipempties)  



Revision as of 22:21, 16 June 2024

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

Write the content here to display this box

<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