How do I get JSON out of a port?

How do I get JSON out of a port?
Working with ports can be awkward.
You’re really limited as to what values you can send through, so how do you get objects?
Easy: write a JSON Decoder!

Continue Reading