Package-level declarations

Types

Link copied to clipboard

Utilities and serialisers for working with JSON representations of basic types. This adds Jackson support for the java.time API, some core types, and Kotlin data classes.

Link copied to clipboard
class StringToClassParser<T>(val targetType: Class<T>)

This class parses strings in a format designed for human usability into objects usually to support representation of a query object pattern. The strings accepted by this class are a minor variant of Yaml and can be easily typed at a command line. Intended use cases include things like queries in the Corda shell.

Link copied to clipboard
open class StringToMethodCallParser<in T : Any> constructor(targetType: Class<out T>, om: <Error class: unknown class> = JacksonSupport.createNonRpcMapper(YAMLFactory()))

This class parses strings in a format designed for human usability into ParsedMethodCall objects representing a ready-to-invoke call on the given target object. The strings accepted by this class are a minor variant of Yaml and can be easily typed at a command line. Intended use cases include things like the Corda shell, text-based RPC dispatch, simple scripting and so on.

Functions

Link copied to clipboard
fun <T> <Error class: unknown class><T>.getOrReport(out: PrintWriter?): T?

Gets the value from the Try object if that contains successful result. In case of the failure it'll returns null and report using the provided PrintWriter or trow the exception if the PrintWriter is null