Closed rmoretto closed 2 years ago
Well, I'm sorry for the noise.
I ran some more tests and only the print of the value that looks wrong, but the underling value is correct:
iex(9)> ~s({"test": [88]}) |> Jason.decode!() |> Map.get("test") == [88]
true
I will close the issue.
Hello all! First, thanks for the great library!
So, I'm decoding a json string that contains a key with a array of value
[88]
.When I decode the json I receive the following result:
Which makes sense, as the binary representation for the letter
X
is equal<<88>>
:Searching the Jason docs I couldn't find any reference of this behavior.
Don't know if is relevant, but this behavior also occurs when I use the
File.read!
function to load a.json
file.My system:
Any help is greatly appreciated.