json.extract! income, :id, :title, :amount, :date, :category, :description, :created_at, :updated_at
json.url income_url(income, format: :json)