Closed joao-mambelli closed 4 years ago
Ok, so as I’m a newbe in relation to json, I just figured out that single quotes are wrong with json... The problem is with the api itself...
As a late update to this issue, I have just added optional support for parsing strings with single quotes, in case you happen to still be working with a malformed API. This is available as of v2.2.0 and you can check the README for instructions to enable this option.
That’s very handy, thanks
So, I'm trying to decode a josn HTTP Response retrieved using SteamWorks and I get this message: json_decode: expected key string at position 1.
I saw the include files and saw that it was expecting a double quotes at the position 1... I don't see what I'm doing wrong here... Any help?
The json I'm trying to decode with some information hidden:
Code: