Closed paulroth3d closed 2 years ago
Call it hashMap as the namespace Makes it easier to differentiate
include parsing an object with properties into a map
Under testing with the hashMap
module
Committed under 1.20 - https://jupyter-ijavascript-utils.onrender.com/module-hashMap.html
Allow for functional programming assignment of map values
utils.map.set(map, key, value) => map (with the value assigned, and returning the map)
utils.map.serialize(map) => string (json stringified map of the entitied) utils.map.deserialize(string) => map (parsed json stringified map of the entities passed as an argument)
utils.map.toJSON(map) => string (json stringified map using the reducer / human readible) utils.map.parseJSON(string) => alias of utils.map.deserialize - or vice versa