Closed ThomasWeiser closed 7 years ago
A JSON boolean looks like this, i.e. without quotes around true:
true
{ "supported-by-me": true }
Accordingly Elixir code should use the builtin atoms true and false instead of strings like "true". These atoms result in valid JSON code.
false
"true"
A JSON boolean looks like this, i.e. without quotes around
true
:Accordingly Elixir code should use the builtin atoms
true
andfalse
instead of strings like"true"
. These atoms result in valid JSON code.