currency
is added to the output because there is a mapping expression for currency
that produces a result.total
is not added to the output. There is a mapping expression for total
, but it doesn’t produce a result because item.quantity
is missing from the input.item.unit_price
and item.currency
are not added to the output, because there are no mapping expressions for them.currency
is copied from the target example because there is no mapping expression for currency
.unit_price
is not copied from the target example, because there is a mapping expression for unit_price
that produces a result.quantity
is copied from the target example. There is a mapping expression for quantity
, but that one doesn’t produce a result, because item.quantity
is missing from the input.total
doesn’t end up in the output. There’s a mapping expression for total
, but it doesn’t produce a result and the target example doesn’t contain a default value for total
.tax_rate
is overwritten because there is a mapping expressions for tax-rate
that produces a result.item.quantity
is not overwritten. There is a mapping expressions for item.quantity
, but it doesn’t produce a result, because items_per_unit
is missing from the input.total
is added, because there’s a mapping expression for total
that produces a result.USD
.
quantity
, unit_price
and currency
.
total
and currency
.
USD
.
english | spanish | german |
---|---|---|
United States | Estados Unidos | Vereinigte Staaten |
Mexico | México | Mexiko |
Germany | Alemania | Deutschland |
$lookupTable
function. The following example uses the lookup table called countries
to translate the input field land
(which is German for country) from German to English.
countries
lookup table in JSON.