Json Deserializer bug

When a member is declare as double (ie. longitude), when json contains “longitude”:1, it returns an error: wrong_type. I think it read it as integer and not double.
Has someone a walkraound as it prevents me to test further an weather app.

Change double to integer and scale double value. For example, multiply by 100 before conversion to integer. No elegant, but workaround…

But I can’t change source json file. Even your solution is working, it’s not applicable in my case :cry:

I have good news. Next release will open source the libraries. And we are also looking into this.

2 Likes

I have to pay beers again :beers:

Change the json string?