JSON Set Number Field

Callable
JsonSetNumberField

Sets or replaces a numeric field in a JSON object.

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

Inputs

NameTypeDefaultDescription
JsonObjectStringJsonObject parameter
KeyStringKey parameter
ValueFloatValue parameter

Outputs

NameTypeDescription
OutJsonStringOutJson output
Return ValueBooleanReturn Value output

Example Use Cases

Example 1

Patch a "score" value in an existing JSON save string.