A natural fit for JSON is working with the io module. In this example, we'll request JSON data from the server using the Y.io
method and parse the resulting JSON string data for processing.
Click the Get Messages button to send the request to the server.