ArrayIndexConfiguration

actual constructor(path: String)(source)
actual constructor(path: String, vararg expressions: String)(source)
actual constructor(path: String, expressions: List<String>?)(source)
expect constructor(path: String)(source)

Initializes the configuration with paths to the nested array with no expressions constraining the values within the arrays to be indexed.

Parameters

path

Path to the array, which can be nested to be indexed. Use "[]" to represent a property that is an array of each nested array level. For a single array or the last level array, the "[]" is optional. For instance, use "contacts[].phones" to specify an array of phones within each contact.


expect constructor(path: String, vararg expressions: String)(source)
expect constructor(path: String, expressions: List<String>? = null)(source)

Initializes the configuration with paths to the nested array and the expressions for the values within the arrays to be indexed. A null expression will cause a runtime error.

Parameters

path

Path to the array, which can be nested to be indexed. Use "[]" to represent a property that is an array of each nested array level. For a single array or the last level array, the "[]" is optional. For instance, use "contacts[].phones" to specify an array of phones within each contact.

expressions

A list of strings, where each string represents an expression defining the values within the array to be indexed.

actual constructor(path: String)(source)
actual constructor(path: String, vararg expressions: String)(source)
actual constructor(path: String, expressions: List<String>?)(source)
actual constructor(path: String)(source)
actual constructor(path: String, vararg expressions: String)(source)
actual constructor(path: String, expressions: List<String>?)(source)