Skip to main content
Parses JSON with the same parsing behavior as json.decode and returns a success flag instead of throwing for parse errors.

Syntax

Arguments

Returns

Types

DecodeOptions

Controls JSON parsing behavior.

Example

Parse JSON and use the success return value to separate valid false or nil results from parse failures.