Open amnaredo opened 3 years ago
read
assumes you give it a correct type param.
You can't rely on read
throwing an exception if you give it an incorrect type param because in general it is impossible to make such a guarantee, as values of different types can be serialized into the same JSON.
Original Author: raquo
We can nevertheless be stricter than we are now throwing exceptions for out-of-bounds numbers, and the bad parsing of 0e0
notation is just a bug
Original Author: lihaoyi
@raquo The type param is correct. Original Author: yarulan
Handling of exponents is fixed by https://github.com/lihaoyi/upickle/commit/1d4ae8e066292a14e4f958953228ef1ba31bd097, going to call integer overflow and wrap-around a wontfix for now Original Author: lihaoyi
ID: 259 Original Author: plokhotnyuk