Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

$$ESC^XLFJSON(): Escape String to JSON

Reference Type: Supported, Category: Data Security, Integration Agreement: 6682

Description

This extrinsic function returns an escaped string in a JSON format.

NOTE: This API was released with Kernel patch XU*8.0*680.

Format

$$ESC^XLFJSON(x)

Input Parameters

x (required) A string to be escaped to a JSON format.

Output

returns: Returns a JSON escaped string.

 

Example

>W $$ESC^XLFJSON("\one\two\three\")
\\one\\two\\three\\