List of utility methods to do Object to Java Convert
toJava()Object.prototype.toJava = function() { var m = JSON.json(); for (var k in this) if (this.hasOwnProperty(k)) m.set(k, this[k] == null ? null : this[k].toJava()); return m; }; Array.prototype.toJava = function() { var l = this.length; ... | |
toJava()Object.prototype.toJava = function() { var m = new org.juzu.impl.utils.JSON(); for (var k in this) if (this.hasOwnProperty(k)) m.set(k, this[k] == null ? null : this[k].toJava()); return m; }; Array.prototype.toJava = function() { var l = this.length; ... | |
toJson()Object.defineProperty(Object.prototype, 'toJson', { value: function toJson() { return JSON.stringify(this); }, enumerable: false }); |