Returns a string key format for a given Courier array type.
Convert a BigDecimal (used by Play JSON) to a Number (used by Pegasus).
Convert a BigDecimal (used by Play JSON) to a Number (used by Pegasus).
Attempts to convert using the same rules as Pegasus's JacksonDataCodec:
https://github.com/linkedin/rest.li/blob/ master/data/src/main/java/com/linkedin/data/codec/JacksonDataCodec.java#L767
In particular, decimal values that cannot be represented as Number (int, long, double, float) are considered invalid.
WARN: this performs a full copy of data between Play JSON and Pegasus raw data types and is intended for temporary use only during the transition to Naptime v2.
WARN: this performs a full copy of data between Play JSON and Pegasus raw data types and is intended for temporary use only during the transition to Naptime v2.
Returns a formatter for the given Courier record type that converts it to and from Play JSON classes.
Data is validated against it's Pegasus schema when read.
Returns a string key format for a given Courier record type.
WARN: this performs a full copy of data between Play JSON and Pegasus raw data types and is intended for temporary use only during the transition to Naptime v2.
WARN: this performs a full copy of data between Play JSON and Pegasus raw data types and is intended for temporary use only during the transition to Naptime v2.
Returns a formatter for the given Courier record type that converts it to and from Play JSON classes.
Data is validated against it's Pegasus schema when read.
Provides utilities for converting between courier and Play JSON.