ewfian / pickleparser

A pure Javascript implemented parser for Python pickle format
https://ewfian.github.io/pickleparser/
MIT License
8 stars 3 forks source link

Can this lib pickle "jsonable" objects made of primitives? #3

Open boltex opened 1 year ago

boltex commented 1 year ago

Thanks for your great projects!

Can this library create a 'pickled' string or bytes array from a javascript object made of primitive data types ? (with sensible type conversion such as arrays as lists, and objects as dicts, undefined/null as None, etc... )

GnaneshKunal commented 11 months ago

Support for primitive types doesn't seem to be available.

At RedisInsight, we use this library to parse pickle objects and are having issues with parsing primitive datatypes.

https://github.com/RedisInsight/RedisInsight/issues/2260#issuecomment-1611395900