JsonPathNode

Represents a path in a JSON object, using limited reflection and descriptors to build the path.

Start building using with.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <V1 : V, V2> then(property: KProperty1<V1, V2>, serialName: String? = null, block: JsonPathNode<V1, V2>.() -> Unit = {}): JsonPathNode<R, V>

inline fun <V2> then(property: KProperty1<out V, Collection<V2>>, serialName: String? = null, block: JsonPathNode<out V, V2>.() -> Unit = {}): JsonPathNode<R, out V>

Support list, as lists need to be handled differently than object path.

Link copied to clipboard
open override fun toString(): String