cf2:json.Parser

Purpose

Provides a simple and secure mechanism for parsing a JSON string into the equivalent JavaScript object, without authors having to decide whether the source is trusted or not.

Exported Features

cf2:json.Parser

Imported Features

cf2:json.Parser#UntrustedSource

JavaScript

This component is provided by the V$.json object.

parse(json)

This is an alias for the untrusted(json) method.

Parameter Description Type
json The JSON formatted string. String

Related topics