JSON Get Bool

Pure
JsonGetBool

Reads a boolean field from a JSON object by key.

Type: Pure (no side effects)
Category: Fortuna|JSON
Keywords: json

Inputs

NameTypeDefaultDescription
JsonObjectStringJsonObject parameter
KeyStringKey parameter

Outputs

NameTypeDescription
OutValueBooleanOutValue output
Return ValueBooleanReturn Value output

Example Use Cases

Example 1

Check an "is_premium" flag from a user profile API.