json.extract! task_list, :id, :name, :created_at, :updated_at json.task_items task_list.task_items, partial: 'task_items/task_item', as: :task_item