Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
jsonify: function(vm){
var vmLayout = this._getLayoutString();
vm = vmLayout.replace(/\$screen_placeholder/, vm);
vm = this.globalMacros + vm;
var context = {
control: this.tools.control
};
var asts = Velocity.Parser.parse(vm);
var jsonify = new Velocity.Jsonify(asts, context);
return (jsonify.toVTL());
},