Diggsey / ijson

More efficient alternative to `serde_json::Value` which saves memory by interning primitive values and using tagged pointers.
Apache License 2.0
127 stars 14 forks source link

IValue::into_object cannot be successfully called on an object #21

Open kjschiroo opened 1 year ago

kjschiroo commented 1 year ago

It looks like there is currently a typo in IValue::into_object that causes the IValue to check if it is a number rather than an object before attempting to return itself as an object. This prevents the function from returning successfully when it should be able to.