AirbyteValueCoercer

Utility class to coerce AirbyteValue to specific types. Does not support recursive coercion.

More specifically: This class coerces the output of JsonToAirbyteValue to strongly-typed AirbyteValue. In particular, this class will parse temporal types, and performs some common-sense conversions among numeric types, as well as upcasting any value to StringValue.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun coerce(value: AirbyteValue, type: AirbyteType, respectLegacyUnions: Boolean = false): AirbyteValue?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard