MDrivenWiki
Log in

OCLOperators AsTaJson

From MDrivenWiki
Revision as of 13:10, 6 December 2022 by Stephanie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<object>.AsTaJson(viewmodelname,skipempties)

using the object as root in the viewmodel, it 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.

See Tajson for more information.