putJsonObject
Adds a custom metadata field with a JsonObject value using a DSL builder.
Example:
putJsonObject("context") {
put("source", "api")
put("version", 2)
}Content copied to clipboard
Parameters
key
The metadata field name
builderAction
Lambda for building the JsonObject