msgpack-javascript
msgpack-javascript copied to clipboard
@msgpack/msgpack - MessagePack for JavaScript / msgpack.org[JavaScript/TypeScript/ECMA-262]
When I set a number is 2100n * 10000n * 10n ** 8n, got an error ``` Error: Unrecognized object: [object BigInt] at Encoder.encodeObject (~/@msgpack/msgpack/src/Encoder.ts:307:13) ```
This is required to run tests.
This makes the API much easier to grok and reduces the file's line count by half.
issue: > how do we use ExtensionCodec with En/Decoder classes? they dont accept an options 2nd param even if we pass the extensionCodec in the constructor, and continue as normal,...
This PR adds the ability to skip UTF-8 decoding of strings when you enable the `rawStrings` decoding option. This is useful because I have encountered some encoded msgpack strings which...
It might be better to remove `latest` tag for beta version (npm package).
I am trying to understand why I get unexpected values decoding 32-bit floating point values coming from my back-end. This is true ```javascript decode(encode(59.48)) === 59.48 ``` But looking at...
Hi, I am currently working on a project where I serialize JSON objects using the php library `msgpack-php`, but when I try to deserialize these objects using the javascript library...
console reports many error on https://msgpack.org/ and https://msgpack.org/js/msgpack.js has bug in line 387-402. maybe its code should be `case 0x80:for(hash={};num--;)hash[decode()]=decode();return hash;`
It seems `MessagePack` was the old name.