serialize
Returns the serialized form of the simple-map.
map.serialize()
Returns the serialized form of the simple-map, with any values in the map that have a serialize method also having serialized called.
var map = new SimpleMap();
map.set("deep", new SimpleMap({a: "b"}));
map.serialize() //-> {deep: {a: "b"}}
Returns
{Object}
:
A plain JavaScript object that will only contain primitives and other plain JavaScript objects.