Instructor: 00:00 Let's go back to the Elm repo and import json.decode. Now, you should take some time to experiment with the primitive decoders. If you have a string that contains 1, that's valid JSON, and it's a number. You could pass that to decodeString with int as a decoder. You can see that this successfully decoded to 1.
00:24 What if I were to decode this with string? This fails, because 1 is not a valid JSON string. If I change this like this, so I put this into three double quotes, that's a multi-line string in Elm. I can now use double quotes inside that string, so this can now be decoded as the string "1."
00:43 Let's try one more, true. I should be able to pass that to decodeString using bool as a decoder. This works. If I were to use, say, float as a decoder, as expected, that would fail.