Basic example of controller and data from json