Package-level declarations

Types

Link copied to clipboard
typealias TransformFunction<T, R> = (T) -> R

Transform function that takes an input of type T and returns an output of type R.

Link copied to clipboard

Thrown to indicate a validation problem.

Functions

Link copied to clipboard
fun createCaseFormatTransformFunction(fromFormat: CaseFormat, toFormat: CaseFormat): TransformFunction<String, String>

Transform function that will transform a String from one CaseFormat to another.

Link copied to clipboard

Transform function that takes an input of type T and returns the the input itself.

Link copied to clipboard
fun Any.prettyPrintMe(fallbackMap: Map<String, Any> = emptyMap()): String

Pretty prints an object to a string.

Link copied to clipboard
fun Any.toMap(defaultOverrides: Map<String, Any> = emptyMap()): Map<String, Any?>

Converts an object to a map of property names and values, overriding any values with the same key with the fallback map.