🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
OCLOperators AsTaJson
This page was created by Lars.olofsson on 2019-08-10. Last edited by Edgar on 2025-08-31.

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