JSON Set String Field

Callable
JsonSetStringField

Sets or replaces a string field in a JSON object. Creates the field if it does not exist.

Type: Callable (has execution pins)
Category: Fortuna|JSON
Keywords: json

Inputs

NameTypeDefaultDescription
JsonObjectStringJsonObject parameter
KeyStringKey parameter
ValueStringValue parameter

Outputs

NameTypeDescription
OutJsonStringOutJson output
Return ValueBooleanReturn Value output

Example Use Cases

Example 1

Update the "status" field in a JSON payload before re-sending it.