{"_id":"remotedev-serialize","_rev":"3140212","name":"remotedev-serialize","description":"Serialize unserializable data and parse it back.","dist-tags":{"latest":"0.1.9"},"maintainers":[{"name":"zalmoxisus","email":""}],"time":{"modified":"2023-11-27T06:49:07.000Z","created":"2017-01-10T09:47:08.163Z","0.1.9":"2020-08-14T14:48:33.077Z","0.1.8":"2018-12-12T13:29:08.439Z","0.1.7":"2018-12-08T20:47:53.500Z","0.1.6":"2018-12-02T18:27:39.036Z","0.1.5":"2018-12-01T13:22:47.464Z","0.1.4":"2018-11-26T13:06:50.146Z","0.1.3":"2018-11-20T18:56:20.561Z","0.1.2":"2018-11-17T15:42:14.239Z","0.1.1":"2018-03-02T13:30:47.818Z","0.1.0":"2017-01-10T14:06:50.258Z","0.1.0-alpha":"2017-01-10T09:47:08.163Z"},"users":{},"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"repository":{"type":"git","url":"git+https://github.com/reduxjs/redux-devtools.git"},"versions":{"0.1.9":{"name":"remotedev-serialize","version":"0.1.9","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"test":"jest --no-cache","prepublish":"npm run test"},"repository":{"type":"git","url":"git+https://github.com/reduxjs/redux-devtools.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/reduxjs/redux-devtools/issues"},"homepage":"https://github.com/reduxjs/redux-devtools","devDependencies":{"immutable":"^4.0.0-rc.12"},"dependencies":{"jsan":"^3.1.13"},"gitHead":"d8da887da86441c890e0820aa9f924f6ebbad8e7","_id":"remotedev-serialize@0.1.9","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (win32)","dist":{"shasum":"5e67e05cbca75d408d769d057dc59d0f56cd2c43","size":4294,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.9.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"_npmUser":{"name":"methuselah96","email":"nbierema@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remotedev-serialize_0.1.9_1597416512970_0.5533101070885897"},"_hasShrinkwrap":false,"publish_time":1597416513077,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1597416513077,"_cnpmcore_publish_time":"2021-12-16T23:08:25.195Z"},"0.1.8":{"name":"remotedev-serialize","version":"0.1.8","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"^3.1.13"},"gitHead":"159c27aa59716caff214ad60615722f42a9a99ce","_id":"remotedev-serialize@0.1.8","_shasum":"c99cb184e7f71a906162abc404be8ce33810205f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"c99cb184e7f71a906162abc404be8ce33810205f","size":2503,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.8.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remotedev-serialize_0.1.8_1544621348305_0.8921499105514823"},"_hasShrinkwrap":false,"publish_time":1544621348439,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1544621348439,"_cnpmcore_publish_time":"2021-12-16T23:08:25.426Z"},"0.1.7":{"name":"remotedev-serialize","version":"0.1.7","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"^3.1.13"},"gitHead":"a00a8a633463424394c84fe424411eb28e1ab3a2","_id":"remotedev-serialize@0.1.7","_shasum":"744182d1d42c557207495a438442f18152933ec3","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"744182d1d42c557207495a438442f18152933ec3","size":2246,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.7.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remotedev-serialize_0.1.7_1544302073323_0.0017216172409662"},"_hasShrinkwrap":false,"publish_time":1544302073500,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1544302073500,"_cnpmcore_publish_time":"2021-12-16T23:08:25.675Z"},"0.1.6":{"name":"remotedev-serialize","version":"0.1.6","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"^3.1.13"},"gitHead":"c033e180d5b8682c6c5ed5038e3cd053a41d49c2","_id":"remotedev-serialize@0.1.6","_shasum":"312e5f4f1520e28eb468898761b02b83eefc473b","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"312e5f4f1520e28eb468898761b02b83eefc473b","size":2166,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.6.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remotedev-serialize_0.1.6_1543775258917_0.5155530479468382"},"_hasShrinkwrap":false,"publish_time":1543775259036,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1543775259036,"_cnpmcore_publish_time":"2021-12-16T23:08:25.880Z"},"0.1.5":{"name":"remotedev-serialize","version":"0.1.5","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"^3.1.11"},"gitHead":"a6e5567ac3c6919fb9d6a310fddfb655be6ae773","_id":"remotedev-serialize@0.1.5","_shasum":"26ae46fcefb7cdf6cb282a9a7c717c2d3d26972e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"26ae46fcefb7cdf6cb282a9a7c717c2d3d26972e","size":2072,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.5.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remotedev-serialize_0.1.5_1543670567273_0.9735412964680277"},"_hasShrinkwrap":false,"publish_time":1543670567464,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1543670567464,"_cnpmcore_publish_time":"2021-12-16T23:08:26.095Z"},"0.1.4":{"name":"remotedev-serialize","version":"0.1.4","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"3.1.9"},"gitHead":"fc4bd3e3e8cd0324975d89ea3f4cd3944e9aeb75","_id":"remotedev-serialize@0.1.4","_shasum":"2a15e4e514fd393c20328ef978504b4fc272e367","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"2a15e4e514fd393c20328ef978504b4fc272e367","size":2070,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.4.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remotedev-serialize_0.1.4_1543237609936_0.4336381212213891"},"_hasShrinkwrap":false,"publish_time":1543237610146,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1543237610146,"_cnpmcore_publish_time":"2021-12-16T23:08:26.279Z"},"0.1.3":{"name":"remotedev-serialize","version":"0.1.3","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"^3.1.11"},"gitHead":"6d3f25a93f74badce8802003c027a5f31071204a","_id":"remotedev-serialize@0.1.3","_shasum":"2100b89397a20719af4d48b982a1c05607b9a65d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"2100b89397a20719af4d48b982a1c05607b9a65d","size":2073,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.3.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remotedev-serialize_0.1.3_1542740180400_0.3041826343726395"},"_hasShrinkwrap":false,"publish_time":1542740180561,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1542740180561,"_cnpmcore_publish_time":"2021-12-16T23:08:26.519Z"},"0.1.2":{"name":"remotedev-serialize","version":"0.1.2","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"^3.1.11"},"gitHead":"e8ba699221e5143b5409004cb91606587b124c69","_id":"remotedev-serialize@0.1.2","_shasum":"2dd6bcd9af57bd1dc4fb720d3364ac531c7c1e91","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"2dd6bcd9af57bd1dc4fb720d3364ac531c7c1e91","size":2087,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.2.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remotedev-serialize_0.1.2_1542469334057_0.41097239592628365"},"_hasShrinkwrap":false,"publish_time":1542469334239,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1542469334239,"_cnpmcore_publish_time":"2021-12-16T23:08:26.707Z"},"0.1.1":{"name":"remotedev-serialize","version":"0.1.1","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"^3.1.9"},"gitHead":"a1adc89be325aaa6eb3d3e2cde39067852e1fcee","_id":"remotedev-serialize@0.1.1","_shasum":"0f598000b7dd7515d67f9b51a61d211e18ce9554","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"0f598000b7dd7515d67f9b51a61d211e18ce9554","size":2059,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.1.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remotedev-serialize_0.1.1_1519997447206_0.3646344935536443"},"_hasShrinkwrap":false,"publish_time":1519997447818,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1519997447818,"_cnpmcore_publish_time":"2021-12-16T23:08:26.909Z"},"0.1.0":{"name":"remotedev-serialize","version":"0.1.0","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"^3.1.0"},"gitHead":"be805591f99a7696e1b05de5fb22d099e80b6bff","_id":"remotedev-serialize@0.1.0","_shasum":"074768e98cb7aa806f45994eeb0c8af95120ee32","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"074768e98cb7aa806f45994eeb0c8af95120ee32","size":1967,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.0.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/remotedev-serialize-0.1.0.tgz_1484057208503_0.6184469766449183"},"directories":{},"publish_time":1484057210258,"_hasShrinkwrap":false,"deprecated":"Package moved to @redux-devtools/serialize.","_cnpm_publish_time":1484057210258,"_cnpmcore_publish_time":"2021-12-16T23:08:27.147Z"},"0.1.0-alpha":{"name":"remotedev-serialize","version":"0.1.0-alpha","description":"Serialize unserializable data and parse it back.","main":"index.js","scripts":{"lint":"eslint src test","test":"jest --no-cache","prepublish":"npm run lint && npm run test"},"repository":{"type":"git","url":"https://github.com/zalmoxisus/remotedev-serialize.git"},"keywords":["redux","devtools"],"author":{"name":"Mihail Diordiev","email":"zalmoxisus@gmail.com","url":"https://github.com/zalmoxisus"},"license":"MIT","bugs":{"url":"https://github.com/zalmoxisus/remotedev-serialize/issues"},"homepage":"https://github.com/zalmoxisus/remotedev-serialize","devDependencies":{"eslint":"^2.13.1","immutable":"^3.0.0","jest":"^17.0.3"},"dependencies":{"jsan":"^3.1.0"},"gitHead":"e9733d0fb84560461707b258f19daa7e672347b7","_id":"remotedev-serialize@0.1.0-alpha","_shasum":"4abede822001bc4979ccece4bb2ea829b6923188","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"zalmoxisus","email":"zalmoxisus@gmail.com"},"dist":{"shasum":"4abede822001bc4979ccece4bb2ea829b6923188","size":1550,"noattachment":false,"key":"/remotedev-serialize/-/remotedev-serialize-0.1.0-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/remotedev-serialize/download/remotedev-serialize-0.1.0-alpha.tgz"},"maintainers":[{"name":"zalmoxisus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/remotedev-serialize-0.1.0-alpha.tgz_1484041626164_0.9099691573064774"},"directories":{},"publish_time":1484041628163,"_hasShrinkwrap":false,"_cnpm_publish_time":1484041628163,"_cnpmcore_publish_time":"2021-12-16T23:08:27.362Z"}},"readme":"# Serialize ImmutableJS data\n\n### Installation\n\n```\nyarn add remotedev-serialize\n```\n\n### Usage with ImmutableJS data structures\n\nJust pass the Immutable library to our class:\n\n```js\nimport Immutable from 'immutable';\nimport Serialize from 'remotedev-serialize';\nconst { stringify, parse } = Serialize.immutable(Immutable);\n\nconst data = Immutable.fromJS({ foo: 'bar', baz: { qux: 42 } });\nconst serialized = stringify(data);\nconsole.log(serialized);\n// {\"data\":{\"foo\":\"bar\",\"baz\":{\"data\":{\"qux\":42},\"__serializedType__\":\"ImmutableMap\"}},\"__serializedType__\":\"ImmutableMap\"}\nconst parsed = parse(serialized);\nconsole.log(Immutable.is(parsed, data));\n// true\n```\n\nSee [the tests](https://github.com/reduxjs/remote-devtools/blob/master/packages/remotedev-serialize/test/immutable.spec.js) for more examples of usage.\n\n### Usage with ImmutableJS Record classes\n\nTo parse a Record class back, you need to specify a reference to it:\n\n```js\nimport Immutable from 'immutable';\nimport Serialize from 'remotedev-serialize';\n\nconst ABRecord = Immutable.Record({ a: 1, b: 2 });\nconst { stringify, parse } = Serialize.immutable(Immutable, [ABRecord]);\n\nconst myRecord = new ABRecord({ b: 3 });\nconst serialized = stringify(myRecord);\nconsole.log(serialized);\n// {\"data\":{\"a\":1,\"b\":3},\"__serializedType__\":\"ImmutableRecord\",\"__serializedRef__\":0}\nconst parsed = parse(serialized);\nconsole.log(Immutable.is(parsed, myRecord));\n// true\n```\n\n### Passing custom serialization functions\n\nYou can pass custom replacer and reviver functions to Serialize:\n\n```js\nimport Immutable from 'immutable';\nimport Serialize from 'remotedev-serialize';\n\nfunction customReplacer(key, value, defaultReplacer) {\n  if (value === 1) {\n    return { data: 'one', __serializedType__: 'number' };\n  }\n  return defaultReplacer(key, value);\n}\n\nfunction customReviver(key, value, defaultReviver) {\n  if (\n    typeof value === 'object' &&\n    value.__serializedType__ === 'number' &&\n    value.data === 'one'\n  ) {\n    return 1;\n  }\n  return defaultReviver(key, value);\n}\n\nconst { stringify, parse } = Serialize.immutable(\n  Immutable,\n  null,\n  customReplacer,\n  customReviver\n);\n\nconst map = Immutable.Map({ a: 1, b: 2 });\nconst serialized = stringify(map);\nconsole.log(serialized);\n// {\"data\":{\"a\":{\"data\":\"one\",\"__serializedType__\":\"number\"},\"b\":2},\"__serializedType__\":\"ImmutableMap\"}\nconst parsed = parse(serialized);\nconsole.log(Immutable.is(parsed, map));\n// true\n```\n\n### Supported\n\n#### ImutableJS\n\n- [x] Record\n- [x] Range\n- [x] Repeat\n- [x] Map\n- [x] OrderedMap\n- [x] List\n- [x] Set\n- [x] OrderedSet\n- [x] Seq\n- [x] Stack\n\n#### ES6\n\n- [x] Symbol\n- [x] Map\n- [x] Set\n- [ ] Typed Array\n\n### License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/reduxjs/redux-devtools","bugs":{"url":"https://github.com/reduxjs/redux-devtools/issues"},"license":"MIT"}