require "json"require "./product" class InvoiceLine JSON.mapping( item: Product, quantity: Float64 ) end