cf2:json.Parser#UntrustedSource

Purpose

Parses a JSON string into the equivalent JavaScript object. This component can be used for both trusted and untrusted sources. However, if the JSON is known to come from a trusted source, then it may be more efficient to use cf2:json.Parser#TrustedSource.

Exported Features

cf2:json.Parser#UntrustedSource, cf2:json.Parser#Secure

Note:

The cf2:json.Parser#Secure feature is deprecated. Instead, the cf2:json.Parser#UntrustedSource feature must be used.

Imported Features

n/a

JavaScript

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

untrusted(json)

Parses a JSON string into the equivalent JavaScript object.

Parameter Description Type
json The JSON formatted string. String

Related topics