set

open fun <T : Any> set(value: T): PatchOp.Set<T>

Creates a JSON Merge Patch PatchOp.Set operation from the provided value that sets/replaces the current value.

Return

PatchOp.Set operation instance.

Parameters

value

Value to set/replace the current value with.