Follow

Got to love it when it turns out the web api you're trying to use represents booleans in json as strings rather than actual booleans πŸ™„ . If something is a boolean, make it a god damn boolean.. Not a string saying true or false.

Β· Β· Web Β· 2 Β· 0 Β· 1
@schoentoon At work, I discovered a boolean represented as an integer with allowed values 0, 1, 2

:jivecat:

@FiXato You need to throw some comments in there to make your json even more invalid

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!