Rafagd/json-rs

Should be function for getting int and float json as float output

Closed this issue · 2 comments

vird commented

0.0 is float, but 0 is int, so
just_deref_me.number() sometimes fails when float becomes with no tail

Acknowledged. I'm kinda overloaded with some life problems right now, but I'll make sure to take a look at it as soon as I can.

I finally managed to have a little bit of time to tackle this issue. You should be able to deref numbers by using number.into(). You should also be able to make numbers into Json using the same command.