A code sample using JSON.