replace

inline fun <T> replace(path: String, value: T, xattr: Boolean = false)

Replaces an Object node field or Array element.