OCLOperators AsTaJson
From MDrivenWiki
<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.