Table of Contents

Search

  1. Preface
  2. Understanding Data Types and Field Properties
  3. Designing Processes
  4. Using and Displaying Data
  5. Designing Guides
  6. Designing Process Objects
  7. Designing Service Connectors
  8. Using App Connections
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

escape-Json-String 

escape-Json-String 

Escapes special characters in the provided string to make it valid for usage in JSON.

Syntax

util:escapeJsonString(str)

Return Value

Encodes and returns the value as a JSON string according to http://json.org/ rules.

Examples

The function returns the following values for various strings provided as input:
STRING INPUT
RETURN VALUE
//
/\/\
Item1, Items2
Item1, Items2  
\n
\\\\n

0 COMMENTS

We’d like to hear from you!