LightBSON.jl icon indicating copy to clipboard operation
LightBSON.jl copied to clipboard

Support for more base types?

Open jw3126 opened this issue 4 years ago • 2 comments

A bit similar to #7

obj = 1:10
LightBSON.bson_write(path, obj)
LightBSON.bson_read(typeof(obj),path)

throws an error:

KeyError: key :start not found

Should ranges and other common types from Base work out of the box? Or is this out of scope?

jw3126 avatar Dec 03 '21 10:12 jw3126

Ranges specifically may be encoded as arrays, but in general the scope is limited to BSON representable types.

ancapdev avatar Dec 03 '21 10:12 ancapdev

Ok thanks, I now have a better picture of the score of this package!

jw3126 avatar Dec 03 '21 17:12 jw3126