{"_id":"assemblyscript-json","_rev":"9-90cd0ac302edddec8f9fb5437b10490e","name":"assemblyscript-json","dist-tags":{"latest":"1.1.0"},"versions":{"0.2.0":{"name":"assemblyscript-json","version":"0.2.0","types":"assembly/index.ts","scripts":{"asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize","asbuild":"yarn asbuild:untouched && yarn asbuild:optimized","test":"asp"},"devDependencies":{"@as-pect/cli":"^2.3.1","assemblyscript":"github:AssemblyScript/assemblyscript"},"gitHead":"a8d3de187967136b8e231586ff408198ba98c919","description":"JSON encoder / decoder for AssemblyScript.","_id":"assemblyscript-json@0.2.0","_nodeVersion":"12.9.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-feJLBrec5O600QytfpkFb9oUYc+rANwtEUuSfIxVmjGcup4uR42maQTWOuIv8w/YOsHDMYHTXCwPQsuCynrwKA==","shasum":"e308c469547d26c7e9a7ef670a83b67061c7401c","tarball":"https://registry.npmjs.org/assemblyscript-json/-/assemblyscript-json-0.2.0.tgz","fileCount":14,"unpackedSize":48221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhB2ACRA9TVsSAnZWagAAG48QAI8HynqP+b6yLdL/nEXJ\niPufTnxNOEqP5UWrPYVFsqUoBfn2IVKAOA5wjBKkKy9VTHAfprNIv+ECAJCm\nPxfeVS9DE95FjZHJURQkuDR7hSla0Pg4/E0jdFEf8FnhXI6Qgm2KLKqi5EEe\nYELgKGr537J7peQDmr3KSUg8/RyGd2tLZ/srMHV7IqW5SMqExubvNj3qQMMw\na9obGVM2FKiXERV5WHopxz8jTpoMhUMnmEQJ8+JpxrhKFWb21Pwa3sbbqqWO\nOAfZiWs7CqjfNzT+qdMPcf6gVnFS/li84J8xaxBk1sEy7h+PHh4r7APxZv+U\nZg+0a2MAlSXjBu2Y9jjUapx9usLhaQ20gyKrF/1HGlWZZOuF+q5IJeZ+yBDn\nRq5Z7v649JoudJgwsJr50A73UNKQ6NFKPLexAJD0sDpPIMo4rdUkY8BRgX+g\ncrjQ07NFn7hpdy+ZNgxCVQozRTENKKyF79iAiKgh7+waIS8Mocd8dS5SM2M7\nipGgQRa60jsb+AAS7MgVPtcEHzGSeCOUfe81HqoBdi2TOgXeGYfvOvtcmFA2\npsNGlUYrbqqb2Ifs6CDmHLpJcvsQhRKResEptuZXkbW9RnLjnrvtJGzBIfr7\nOXADa7RUNmhRAWH8aCBXUXbewoZ+MQw6w7Dook3OZpkwlCzl5eaAm2KggWXg\nx7cj\r\n=Cs/0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0EawZZ4RWpo2fbJ9SxB3DCiJ1pYGsvkFq94CGpsCNRAIhAOTz5a4dNbxGE0z7kZCtnb5UWQZLEQznBvyc71KI/AdN"}]},"maintainers":[{"name":"nearvlad","email":"vlad@nearprotocol.com"}],"_npmUser":{"name":"nearvlad","email":"vlad@nearprotocol.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/assemblyscript-json_0.2.0_1568939391810_0.23862769355665003"},"_hasShrinkwrap":false},"0.3.0":{"name":"assemblyscript-json","version":"0.3.0","types":"assembly/index.ts","scripts":{"asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize","asbuild":"yarn asbuild:untouched && yarn asbuild:optimized","test":"asp"},"devDependencies":{"@as-pect/cli":"^2.3.1","assemblyscript":"^0.8.1"},"description":"JSON encoder / decoder for AssemblyScript.","licenseText":"MIT License\n\nCopyright (c) 2018 NEAR Protocol\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","license":"MIT","_id":"assemblyscript-json@0.3.0","dist":{"shasum":"f44e4001ecf8db5816bf74d2ef34868ec80e2867","integrity":"sha512-CW05xrcMQ2mQUXj84Nq8KESyMHn5x+Z4NUwRQveUhWpWwPu7zp8oLNMLb5lKJ8CgRXmE8lxYSfe3/867sN+qRA==","tarball":"https://registry.npmjs.org/assemblyscript-json/-/assemblyscript-json-0.3.0.tgz","fileCount":19,"unpackedSize":55487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOyulCRA9TVsSAnZWagAA0SAP/3gD01zQ/vUdlQnSMRz4\n6hrhMXUAzU4mVFeUWBY5rY4nHm/sKZ+P7pYaDj/+6iE384QIATgbX1T0gn3R\n3Skc9nDIgAnpbh5dewzK8jBBs1jht0HNxtd+HKeKRiuua1VauGLsbRxwyJVf\n/7SPzfkIF6S3KJ+3igUwzF17C6Kr0Gu6tgkszdXkCPy21FBh2Ku0s6LpDptH\nED/aUBmTHEnfiC9HRAle4/vtHrPksZOkgr4gtbmayDLx/A2+u1WGjM6TG9kF\nIIIou3nJ1GSf2JjmXecRtaMCLQqUK6Pr0McJ0RJxh7rUfIhIqRi4h0QMdpK4\nyfHWX5t1PByprCmRzpe0FXpb30dsGP4dLDusxZajb0NevmwOznhtlFC7zZfC\nE7ts+W6jmW8zYDMqU3lOrJb/xmFb4IOdOYVnxPcBNKLrHxsvrFEZDP8SjLc6\nTNmiDOF1yaVgfdbIcA9bGO27tGHK1/GrRDanfNilCmnSSA9PM/x/odwCfYwA\n1ap7JlEpw4v/ADauXMMS2Bdxoca5LBLbjc8tcCVuH5+VHOTHFH70L0sGRZ7l\n9ySeYvae5xRWSBXO4I9zylApktVbQqflAhi7scsUpo8HxLagkMSrIiZRHph0\n1hCDWHd1KRA5n6z8IBngaSyqxwfiI1YaE2O23cGLH1EMtYDWz9UYHQ1gWLcj\nQqyq\r\n=XtOD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtyjLu0Aucl+jYuUcQr9D7Wke9lyDL9oUrcsZSMlnCWwIhAM1Z8JGicGNN5AX4cMHw/wXMWWob1brjYMgodgFFMPSj"}]},"maintainers":[{"name":"nearvlad","email":"vlad@nearprotocol.com"}],"_npmUser":{"name":"nearvlad","email":"vlad@nearprotocol.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/assemblyscript-json_0.3.0_1580936100946_0.4217348993080894"},"_hasShrinkwrap":false},"0.3.1":{"name":"assemblyscript-json","version":"0.3.1","types":"assembly/index.ts","scripts":{"asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize","asbuild":"yarn asbuild:untouched && yarn asbuild:optimized","test":"asp"},"devDependencies":{"@as-pect/cli":"^3.2.4","assemblyscript":"^0.10.0"},"description":"JSON encoder / decoder for AssemblyScript.","licenseText":"MIT License\n\nCopyright (c) 2018 NEAR Protocol\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","license":"MIT","_id":"assemblyscript-json@0.3.1","dist":{"shasum":"bd6053eba21cd29bef2fee5c8dfc6392401c97cf","integrity":"sha512-RScAzu/PUejojfXgZnAfy9FUkePSh/zIs3eAaFPWpiBQjS8eWc8aOdM2Q68TI6D7AybyJAK8G3iVF7Qd2Uakcw==","tarball":"https://registry.npmjs.org/assemblyscript-json/-/assemblyscript-json-0.3.1.tgz","fileCount":18,"unpackedSize":55456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1p+xCRA9TVsSAnZWagAAv7EP/i/6dFi9dk5UWjMgO3uc\n6Z6ifyx4H8yctMJY8qdRC56AZP/h02dN8sWaZAKU7ymSdMZhC2WsBWhf2XwH\nseQhkp7Y89Mhn5bIILaRUYtX2Fd4gkferggClp0Jw95zoXGt65x7U1OPhast\n/h+B9OF44UPOiWaG+XvmXVAz+9+0PlCKxwKW6KV7/vwT4KOFoad3W/1gjAWm\ncVIqiiC3xBdhq0aQpvqgCu1ybD84dkSeo20edBh344SWMzASdNL+dteexR79\nMKJ29c/GHiHmQb/nC9iuhcAP8ePlli05bLNMzrsZr7tJKlK4ZTZG0Aqnvy6x\nuTx1GAX1PYPYci1YHe0wms9L0Z62zv7n5xxGRHF5UqYC2/XFsgoiYptx023K\no1zQMvNE+FUJm9ggbFRLPfWpvyyMrU9O+k5bBvXKaRRH0pIKC4y+Pe10U+Vz\nFqN2c42XIZ7bwm+kfG6EQKt8XivqJ5JvHbvjkfMmQPobZRGZHIC9qzwSlA+b\ndA/F0Mhiy37P/JcB0FfafGDoCf6BOJLzauBPLoqb0Ao3uQaR2EXq/YiEAgNq\nBEPHBJGLw2Rf9TC8Z1wQQmO4RKhmV9g5Gk8WoKghxUgNFE1iih9qQ2sMrupF\n5Y4S3lvuw7Sxu0UEdppdey7dbBtLTsTl/2KiV+a+Om0B8w9YxxccFguf69Kf\ntjE/\r\n=d40/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0xsBX7HrmQ+BrOMWDk2eRfsSOWf9y4Wh00MJT9zYMgAiAn/iQfwj/YffSqDtaU7OkxVhZgE7GbiCH44FZcRF+g8g=="}]},"maintainers":[{"name":"nearvlad","email":"vlad@nearprotocol.com"}],"_npmUser":{"name":"sirwillem","email":"willem@cs.umd.edu"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/assemblyscript-json_0.3.1_1591123888770_0.8082366955501459"},"_hasShrinkwrap":false},"0.3.2":{"name":"assemblyscript-json","version":"0.3.2","types":"assembly/index.ts","scripts":{"asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize","asbuild":"yarn asbuild:untouched && yarn asbuild:optimized","test":"asp"},"devDependencies":{"@as-pect/cli":"^4.0.0","assemblyscript":"^0.13.3"},"description":"JSON encoder / decoder for AssemblyScript.","licenseText":"MIT License\n\nCopyright (c) 2018 NEAR Protocol\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","license":"MIT","_id":"assemblyscript-json@0.3.2","dist":{"shasum":"3b526d3837729882baf05c223b6ee8fc45ced633","integrity":"sha512-3dzsc0cn47GzzHoYTWVN9lsaTCcNTrxWHk2s+O9x3nA6q82TYeihfSpr91+NdAnnRdE9UinVz4C2eER3x8I/fQ==","tarball":"https://registry.npmjs.org/assemblyscript-json/-/assemblyscript-json-0.3.2.tgz","fileCount":18,"unpackedSize":55643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBJ2zCRA9TVsSAnZWagAAZMEP/2bmqGYtxO2JE83UEk1J\nT2cTr18v/v4XCad22ky+6jo/uYC9i1aqaNmfBM3peYHeKVh5QcLJTLJhwMAc\nBLXDG9213oOUhaAwKAUrblh08VsLmizviTmr/P8D5vD9tKNYGVgDr1QGZN/I\nSoiw//A6KQBOeuGUiQcB0BHPVvLzgi3ZUI/P4eGHmXH7U27YHf3iy7zYwglx\nOK4pSD0gAS47lAOI+K7rUs0ZV3GOoLD4cF1OVbGVuF5Quc+Qq2W0ZX9/Oe7L\n4srXOWgT1IdvzaSEWwwbUptXb34GxOIM3RbNz9LGHY05oiVGsrhUWgwQjbPk\n5d+viCbuunSJFUcssBgZJyhOvOyeNPch1lClXwnx5c7sWzk6CR/OYuHjy/PV\nrJMPaU9BIboWsI6zWXmwF1/pin3gMTLvqzEgEtw6CNRlgFC2ACY+3/aDIY01\n7gsIViKetZjTbZKcB6Hb4vL5/0CiwVqNWXAIh6Pq5Gs9jAx1ABb6975Xl44U\nRBMrJBPB9hv0hW2PlngSXVCHJ1eFtgqkWwbjKoRLiKQqFoVfXgU9VLt3YByV\nrt8ruFJqIVZuPKcEc67b3UCiqsHdiLGNyp16RDmrWu31vd+ZpodPNFxsDBvE\nH4lq6dCTa6PwXmG7HZiujbQnPry3b94zOhGUPj9OvVmFHlI/3g8n7qDf65Xj\nQzz6\r\n=mrKl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgKI+6oXh6RvUJgKEOhFXVkDc0KtyxQftAIT9pHMqp9gIhAPa83fbqxhdaQLNNZ56hfPPuT5aqBUtq/Y91cLvZ3zq+"}]},"maintainers":[{"email":"vlad@nearprotocol.com","name":"nearvlad"},{"email":"willem@cs.umd.edu","name":"sirwillem"}],"_npmUser":{"name":"sirwillem","email":"willem@cs.umd.edu"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/assemblyscript-json_0.3.2_1594138035267_0.5300122429282232"},"_hasShrinkwrap":false},"0.3.3":{"name":"assemblyscript-json","version":"0.3.3","types":"assembly/index.ts","scripts":{"asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize","asbuild":"yarn asbuild:untouched && yarn asbuild:optimized","test":"asp"},"devDependencies":{"@as-pect/cli":"^4.0.0","assemblyscript":"^0.14.9"},"description":"JSON encoder / decoder for AssemblyScript.","licenseText":"MIT License\n\nCopyright (c) 2018 NEAR Protocol\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","license":"MIT","_id":"assemblyscript-json@0.3.3","dist":{"shasum":"cc2d05d432d5df290768c51f72a1f00ff8b52a0d","integrity":"sha512-TTYZK3rbfan7w5i0lv7bZS4rlXNDe8r/38kjzrQqF6dJaSE/fqSJOnpHsiBTtRgwkLRPL0NAen7ItD/3j9I6eg==","tarball":"https://registry.npmjs.org/assemblyscript-json/-/assemblyscript-json-0.3.3.tgz","fileCount":18,"unpackedSize":55857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTmswCRA9TVsSAnZWagAAFlAP/3XpKRvzZ/ofGt+sqCnj\nB7HoX2on+6Xyn71ttyx7/Rl/lIao3hM6ijyaE9sgHi1JJITGdyGZH7RjtZKr\nA1GAcRX+h+eBWCx8bBmRksPsMu8g1yV/cgLdSxarijJ4HgJsIm9AvYgkn7zp\nuq1B8f+GzHe2vCe/qBJT/b+uz+fmPUmMVKbvL4FWOrHrQqfj8D/Eylh8Yg5g\nKx25cybo0Zmf+JsTx7rVxMyr8NAndPoWdRrEQKY6q4UWMCO6Cjy+Y/dujRM6\n7LjKzJ+IrT9cOfYZa0vyU5Y7obbbpwYBSwdolw8R1G9wL5hbWJLvqweET9d7\nKXwlxGlJF7Q1dpezTBx/i+IkWJtoipOnx30ZS9+A+PqaI2Ge9VmsWAiy86KL\nOvGZAdLeD0Jq54YiUiGdShcMotukDNe3sA6XJlajS3yAUUFKYo0RS7dKeaRu\nXDtSnlLoHDmOE93lGKBL9QJD5etLmIxLdJ/Fez4PHDTibXX/aeuuw5xmX2PA\n7bsNbMHJJ6uCnqNVZY1NWt2GXyCx8rUbXQhSSZfxKhSNnttHcDtBtzOBw56Q\nTrsvcXSoxqMNBvthCpF7+DyO5BHNFtxMJbGrXREDhQr3RKG5d7tMBZi/04DC\nq3WC3asKvGcO8fAZ57+usCA88Vf/MBlOMU4kAouCyuss3UICp0q1AhUDSAh/\nIPCr\r\n=whOV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPzka5oFY4yHO/d4SY+J692deNWHWa7hQppOzff2P9swIhAJ6m3O3356RelgeOcJeNlJB1PRG35nvHLyi5TEBJPxhm"}]},"maintainers":[{"email":"vlad@nearprotocol.com","name":"nearvlad"},{"email":"willem@cs.umd.edu","name":"sirwillem"}],"_npmUser":{"name":"sirwillem","email":"willem@cs.umd.edu"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/assemblyscript-json_0.3.3_1598974768195_0.8915231513633"},"_hasShrinkwrap":false},"0.4.0":{"name":"assemblyscript-json","version":"0.4.0","types":"assembly/index.ts","scripts":{"asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize","asbuild":"yarn asbuild:untouched && yarn asbuild:optimized","lint":"eslint --max-warnings 0 --ext ts \"assembly/**/*.ts\"","lint:fix":"yarn lint --fix","test":"asp"},"husky":{"hooks":{"pre-commit":"yarn lint || (yarn lint --fix && exit 1)"}},"devDependencies":{"@as-pect/cli":"^4.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","assemblyscript":"^0.15.0","eslint":"^7.17.0","husky":"^4.3.7","typescript":"^4.1.3"},"description":"JSON encoder / decoder for AssemblyScript.","licenseText":"MIT License\n\nCopyright (c) 2018 NEAR Protocol\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","license":"MIT","_id":"assemblyscript-json@0.4.0","dist":{"shasum":"f70991fe0df5981a5d0bbd4a0537c6e9b294f316","integrity":"sha512-mB6JboIc8UEch4sIss84DjkZqCvGVK+O6HGLaYqwncBm/nvjLYuH8ZRLZdEZNFl2/cF1aAVQ5qw5MpHPgcV4NA==","tarball":"https://registry.npmjs.org/assemblyscript-json/-/assemblyscript-json-0.4.0.tgz","fileCount":19,"unpackedSize":44294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHaIbCRA9TVsSAnZWagAACtgQAJ+2+iAAaAsoeJ3EJ4/5\nRkS3VKb4VXctHmnpJBqWQA5lEjE8nIqRII6m+twLUYy0hNsxUUmVgUQ1PES/\nsao9+heo6yeizZUlbnjZfJCdG+o8ZjgXJj0Rboe2eUBuZgpzbHB8aqBydpiU\nYnCJAk0X51RZuAzUYpLTYsYwEyvRhOwL5zB7rcBmfOqdTfLfyjPANJ3VcIIp\nUoCKMUgJdyOKHxkA2v4ETzacPv+bO1hVt6haNv/M5Linoc3wRB/o8C3N1Fb/\njl8R5wNuUgw7jOcAwXe7CdY3t55FqrfkzhheDiGIvaMBpn+KnNMYEhE2W6zk\n/mHXXjvZhyiUuZhr13tOhUrbizLWEinByh+YaPwPbimpsn7OAsdi0HO5q03u\nY6KUVNc1Ly0hP9zeB6cyyPN1dOJRe5/JA6+9YHBfrHqD6pTk9IdI4ubCuA5I\nUDU9NjfkKBMQo4dnlrpEtGmVpfGJgE3vhosIJ9XweesN4QyBkxSTDhjNV8w/\nwLUINk6Iq926CLcCWw4u5i9Zde3J8yrv8SgZjGdhdU02jvxuuQN5KnJtimfG\nWhSuJxM08E4yLbkEeeqB5+g3Z0QcQuq30PXyUsIJileP7HY9aW207rK+0fTK\ng11thEg3YtYy3ayqY1iSqIgcARXPiIyPRc23hGnSGiWLqOVoXzqQpqHy4tzW\n1TqF\r\n=VUTc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGR0DbjXj3OG90pUa7uj2Z4OY+nvYIRRRs9KBsFmig46AiBhThj7h5ufU5eWzHas+/2q+zFM2Mo7WE2v9q/6Qp/L0A=="}]},"_npmUser":{"name":"sirwillem","email":"willem@cs.umd.edu"},"directories":{},"maintainers":[{"name":"sirwillem","email":"willem@cs.umd.edu"},{"name":"nearvlad","email":"vlad@nearprotocol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/assemblyscript-json_0.4.0_1612554778672_0.6551337249721676"},"_hasShrinkwrap":false},"1.0.0":{"name":"assemblyscript-json","version":"1.0.0","types":"assembly/index.ts","scripts":{"asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize","asbuild":"yarn asbuild:untouched && yarn asbuild:optimized","lint":"eslint --max-warnings 0 --ext ts \"assembly/**/*.ts\"","lint:fix":"yarn lint --fix","docs":"typedoc --plugin typedoc-plugin-markdown --out temp-docs --tsconfig assembly/tsconfig.json --exclude \"node_modules/**/*\" --readme none assembly/index.ts","docs:deploy":"cp -r temp-docs/* docs","test":"asp"},"husky":{"hooks":{"pre-commit":"yarn lint || (yarn lint --fix && exit 1)"}},"devDependencies":{"@as-pect/cli":"^4.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","assemblyscript":"^0.15.0","eslint":"^7.17.0","husky":"^4.3.7","typedoc":"^0.20.21","typedoc-plugin-markdown":"^3.4.5","typescript":"^4.1.3"},"description":"![npm version](https://img.shields.io/npm/v/assemblyscript-json) ![npm downloads per month](https://img.shields.io/npm/dm/assemblyscript-json)","licenseText":"MIT License\n\nCopyright (c) 2018 NEAR Protocol\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","license":"MIT","_id":"assemblyscript-json@1.0.0","dist":{"shasum":"2211f53987f377ef90dd5425b14e09bd1fdea74a","integrity":"sha512-Cv96RESaVbCJn6jqVPXJlrClb3ZoLwcoSNFPDpHMXxi7NqLBeUGhV6zitSjLIgPHXVocIuYYH+SnykzEtErrBg==","tarball":"https://registry.npmjs.org/assemblyscript-json/-/assemblyscript-json-1.0.0.tgz","fileCount":41,"unpackedSize":133063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLTteCRA9TVsSAnZWagAAzDAP/0KVtlVJ9bG0KfS1Rytb\npGSShKw2HkL6vvGpjzAtYy1HV0EGZek8pVdHam93AVtMkkd5syPllGWfunUg\nGYg15t8N9YGGd+Sreo5OMyuxpwG5u2qasFfkv2Gz6tz1wkNyX5glQWsCbWFp\nPnNb9rz1YIGS8WNc0XL0UMNXbyNZPUbmD5rm0yvCqcmXMPNCsmrWHs84PIOT\n+nZ0zqz8yHka6S3Z7+o+QzvWmQKvxYhKe78Rg6GsPzP0177YsyGRXTXsviOU\nQBMRe3Hm+QkGUF6K5hIxO2BvQvC4TJ8nLo6ys9YSDkqUEGMHnwW7bCeRoejM\nWkd94kJz9PRCgVHoBMH6Ni5ckXKtSlAEVOArUYnmEAkwCtOG1G2hCtLKKB5+\nxemUnLqoz1CcjUowBZKW4NeRQsKh3hFZ7RhLD/19EaLQsTd7GM8BKqk6FviD\nkbZIcJSRJhRaLUjBF0BommZmWxNK8lKNoc9xVug2J+0HBE1MUPECHXVGFKFl\nl1Ws+Q0kYcb643IaorpVX6O3/bWsYE/ctMzKDEoH8r1vFKkviGEw0RO7V73T\n4D5vpDHoIBAljlE8gIe0TUDR4OE5lv7iGCqwkwQis2O3Mdv7HjAdS3h55BuL\n+2XZeHk0cB8GILYkcUxe0Av/rCnqveQbUPyxuNhO5XgmOKUb1qji8HDo4xGO\ngHqk\r\n=88/i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVRaXK1fSQYm0GGIgNuiR6/miN3Dg+o7pndimxxv9ScAiEAtMDS/9qQYHFEF/my+J/QbClsfzOdcSry+Rb+Okc0FXQ="}]},"_npmUser":{"name":"sirwillem","email":"willem@cs.umd.edu"},"directories":{},"maintainers":[{"name":"sirwillem","email":"willem@cs.umd.edu"},{"name":"nearvlad","email":"vlad@nearprotocol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/assemblyscript-json_1.0.0_1613577053647_0.06393987702628068"},"_hasShrinkwrap":false},"1.1.0":{"name":"assemblyscript-json","version":"1.1.0","types":"assembly/index.ts","scripts":{"asbuild:untouched":"asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug","asbuild:optimized":"asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize","asbuild":"yarn asbuild:untouched && yarn asbuild:optimized","lint":"eslint --max-warnings 0 --ext ts \"assembly/**/*.ts\"","lint:fix":"yarn lint --fix","docs":"typedoc --plugin typedoc-plugin-markdown --out temp-docs --tsconfig assembly/tsconfig.json --exclude \"node_modules/**/*\" --readme none assembly/index.ts","docs:deploy":"cp -r temp-docs/* docs","test":"asp"},"husky":{"hooks":{"pre-commit":"yarn lint || (yarn lint --fix && exit 1)"}},"devDependencies":{"@as-pect/cli":"^6.2.4","@typescript-eslint/eslint-plugin":"^4.16.0","@typescript-eslint/parser":"^4.16.0","assemblyscript":"^0.19.5","eslint":"^7.21.0","husky":"^4.3.7","typedoc":"^0.21.2","typedoc-plugin-markdown":"^3.10.2","typescript":"^4.1.3"},"description":"![npm version](https://img.shields.io/npm/v/assemblyscript-json) ![npm downloads per month](https://img.shields.io/npm/dm/assemblyscript-json)","licenseText":"MIT License\n\nCopyright (c) 2018 NEAR Protocol\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","license":"MIT","_id":"assemblyscript-json@1.1.0","dist":{"shasum":"49d38bc21f1ac36f2887528a35de6cf7d59c17be","integrity":"sha512-UbE8ts8csTWQgd5TnSPN7MRV9NveuHv1bVnKmDLoo/tzjqxkmsZb3lu59Uk8H7SGoqdkDSEE049alx/nHnSdFw==","tarball":"https://registry.npmjs.org/assemblyscript-json/-/assemblyscript-json-1.1.0.tgz","fileCount":36,"unpackedSize":121351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg52ehCRA9TVsSAnZWagAAkNoP/RHpy2k89O3GF1PZrjMH\n+vmUJtLTiiQ4gT21eyXHOAiIn4o/2C49hbgFxoCQPxRP7L7iGVyOoYswm1uw\nA0nfC/EnHIDL9KbeDoj+lD2rlF+4c3FtYtwYYDGez86USXz+I+DbVIoSLUFF\nZ+KvkjusijRvKgYsB6pJiXzSqQGIEgmE046U/eTv4OqN2TRNCtaLJrLMuEhP\nxoKG26VwV2+BP58NUQLGuMj1GC8H0wNi7jMtQcu7tKGCzkqpx5ZxMGuxmSj4\nDjdPrzDXj9QdVNzbqUNZcw81o4++6KYfBHxUv9vt4shlGDKzoL6nRi3whfo3\n6eHAz3Jfxftx7MZNrHhp7ycxxi2HeR3Yo2+qvcnrMNE8nU2uNVUXm+ZUwCu0\nGepDyltuurH6oSheVp15twxU0z/GBdlbTj9K98Sps9gJF4DR9ClWY1RZw53Q\nuI+YACH7D8GHavh4WEHEYRzwfv2lnoAXuMCy16m2M9YbT4gkRZXWFjl21Y+q\n/dN+KuwfexjJiQY83kF94xXclR1GKE401RCVT8G9IQetqnNtGWfa6rrJWrKi\ncHwEMDZkmhraCT3J/Q3CV4XpeSS0+V2KysYm1S/DljBaOSFETkgRx7Mmzx8L\nuxBz/IubNfIjZY6bh+bQHd3dyBJSdWFatjqy0k92MkfGuqKXxoNsxlt265xJ\nhKrS\r\n=Uhxw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXZrFkqkP1UxnWKRM89k2VcmTD757b8cV3wY9Jo1VERAIgOsSESlH+C5UvMa9mYCOavorGSlstQeOw+3k/LGyZmBQ="}]},"_npmUser":{"name":"sirwillem","email":"willem@cs.umd.edu"},"directories":{},"maintainers":[{"name":"sirwillem","email":"willem@cs.umd.edu"},{"name":"nearvlad","email":"vlad@nearprotocol.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/assemblyscript-json_1.1.0_1625778081228_0.23296262058502126"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-20T00:29:51.810Z","0.2.0":"2019-09-20T00:29:51.952Z","modified":"2022-04-11T15:24:00.535Z","0.3.0":"2020-02-05T20:55:01.146Z","0.3.1":"2020-06-02T18:51:28.886Z","0.3.2":"2020-07-07T16:07:15.365Z","0.3.3":"2020-09-01T15:39:28.401Z","0.4.0":"2021-02-05T19:52:58.797Z","1.0.0":"2021-02-17T15:50:53.781Z","1.1.0":"2021-07-08T21:01:21.339Z"},"maintainers":[{"name":"sirwillem","email":"willem@cs.umd.edu"},{"name":"nearvlad","email":"vlad@nearprotocol.com"}],"description":"![npm version](https://img.shields.io/npm/v/assemblyscript-json) ![npm downloads per month](https://img.shields.io/npm/dm/assemblyscript-json)","readme":"# assemblyscript-json\n\n![npm version](https://img.shields.io/npm/v/assemblyscript-json) ![npm downloads per month](https://img.shields.io/npm/dm/assemblyscript-json)\n\nJSON encoder / decoder for AssemblyScript.\n\nSpecial thanks to https://github.com/MaxGraey/bignum.wasm for basic unit testing infra for AssemblyScript.\n\n## Installation\n\n`assemblyscript-json` is available as a [npm package](https://www.npmjs.com/package/assemblyscript-json). You can install `assemblyscript-json` in your AssemblyScript project by running:\n\n`npm install --save assemblyscript-json`\n\n## Usage\n\n### Parsing JSON\n\n```typescript\nimport { JSON } from \"assemblyscript-json\"; \n\n// Parse an object using the JSON object\nlet jsonObj: JSON.Obj = <JSON.Obj>(JSON.parse('{\"hello\": \"world\", \"value\": 24}'));\n\n// We can then use the .getX functions to read from the object if you know it's type\n// This will return the appropriate JSON.X value if the key exists, or null if the key does not exist\nlet worldOrNull: JSON.Str | null = jsonObj.getString(\"hello\"); // This will return a JSON.Str or null\nif (worldOrNull != null) {\n  // use .valueOf() to turn the high level JSON.Str type into a string\n  let world: string = worldOrNull.valueOf();\n}\n\nlet numOrNull: JSON.Num | null = jsonObj.getNum(\"value\");\nif (numOrNull != null) {\n  // use .valueOf() to turn the high level JSON.Num type into a f64\n  let value: f64 = numOrNull.valueOf();\n}\n\n// If you don't know the value type, get the parent JSON.Value\nlet valueOrNull: JSON.Value | null = jsonObj.getValue(\"hello\");\n  if (valueOrNull != null) {\n  let value = <JSON.Value>valueOrNull;\n\n  // Next we could figure out what type we are\n  if(value.isString) { \n    // value.isString would be true, so we can cast to a string\n    let innerString = (<JSON.Str>value).valueOf();\n    let jsonString = (<JSON.Str>value).stringify();\n\n    // Do something with string value\n  }\n}\n```\n\n### Encoding JSON\n\n\n```typescript\nimport { JSONEncoder } from \"assemblyscript-json\";\n\n// Create encoder\nlet encoder = new JSONEncoder();\n\n// Construct necessary object\nencoder.pushObject(\"obj\");\nencoder.setInteger(\"int\", 10);\nencoder.setString(\"str\", \"\");\nencoder.popObject();\n\n// Get serialized data\nlet json: Uint8Array = encoder.serialize();\n\n// Or get serialized data as string\nlet jsonString: string = encoder.stringify();\n\nassert(jsonString, '\"obj\": {\"int\": 10, \"str\": \"\"}'); // True!\n```\n\n### Custom JSON Deserializers\n\n```typescript\nimport { JSONDecoder, JSONHandler } from \"assemblyscript-json\";\n\n// Events need to be received by custom object extending JSONHandler.\n// NOTE: All methods are optional to implement.\nclass MyJSONEventsHandler extends JSONHandler {\n  setString(name: string, value: string): void {\n    // Handle field\n  }\n\n  setBoolean(name: string, value: bool): void {\n    // Handle field\n  }\n\n  setNull(name: string): void {\n    // Handle field\n  }\n\n  setInteger(name: string, value: i64): void {\n    // Handle field\n  }\n\n  setFloat(name: string, value: f64): void {\n    // Handle field\n  }\n\n  pushArray(name: string): bool {\n    // Handle array start\n    // true means that nested object needs to be traversed, false otherwise\n    // Note that returning false means JSONDecoder.startIndex need to be updated by handler\n    return true;\n  }\n\n  popArray(): void {\n    // Handle array end\n  }\n\n  pushObject(name: string): bool {\n    // Handle object start\n    // true means that nested object needs to be traversed, false otherwise\n    // Note that returning false means JSONDecoder.startIndex need to be updated by handler\n    return true;\n  }\n\n  popObject(): void {\n    // Handle object end\n  }\n}\n\n// Create decoder\nlet decoder = new JSONDecoder<MyJSONEventsHandler>(new MyJSONEventsHandler());\n\n// Create a byte buffer of our JSON. NOTE: Deserializers work on UTF8 string buffers.\nlet jsonString = '{\"hello\": \"world\"}';\nlet jsonBuffer = Uint8Array.wrap(String.UTF8.encode(jsonString));\n\n// Parse JSON\ndecoder.deserialize(jsonBuffer); // This will send events to MyJSONEventsHandler\n```\n\nFeel free to look through the [tests](https://github.com/nearprotocol/assemblyscript-json/tree/master/assembly/__tests__) for more usage examples.\n\n## Reference Documentation\n\nReference API Documentation can be found in the [docs directory](./docs).\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md","license":"MIT"}