PartialArg

data class PartialArg(val value: PartialArgValue? = null, val jsonPath: String? = null, val willContinue: Boolean? = null)

Partial argument value of the function call.

The value of the partial argument is represented by value, which uses PartialArgValue to ensure that only one of boolean, number, string, or null is represented at a time.

Constructors

Link copied to clipboard
constructor(value: PartialArgValue? = null, jsonPath: String? = null, willContinue: Boolean? = null)

Properties

Link copied to clipboard

Represents a boolean value, if this partial argument is of boolean type, null otherwise.

Link copied to clipboard
val jsonPath: String? = null

A JSON Path (RFC 9535) to the argument being streamed.

Link copied to clipboard

Is true if this partial argument represents a null value, null otherwise.

Link copied to clipboard

Represents a double value, if this partial argument is of number type, null otherwise.

Link copied to clipboard

Represents a string value, if this partial argument is of string type, null otherwise.

Link copied to clipboard
val value: PartialArgValue? = null

Holds the primitive value of this partial argument, if any.

Link copied to clipboard
val willContinue: Boolean? = null

Whether this is not the last part of the same json_path.