Interpretation
public struct Interpretation : Codable, Equatable
The details of the normalized text, if applicable. This element is optional; it is returned only if normalized text exists.
-
The value that was located in the normalized text.
Declaration
Swift
public var value: String? -
An integer or float expressing the numeric value of the
valuekey.Declaration
Swift
public var numericValue: Double? -
A string listing the unit of the value that was found in the normalized text. Note: The value of
unitis the ISO-4217 currency code identified for the currency amount (for example,USDorEUR). If the service cannot disambiguate a currency symbol (for example,$or£), the value ofunitcontains the ambiguous symbol as-is.Declaration
Swift
public var unit: String?
View on GitHub
Interpretation Structure Reference