OTRS API Reference JavaScript

Namespace: Core.JSON

Core. JSON

Contains the code for the JSON functions.
Author:
  • OTRS AG
Source:

Methods

(static) Parse(JSONString) → {Object}

This function parses a JSON String.
Parameters:
Name Type Description
JSONString String The string which should be parsed.
Source:
Returns:
The parsed JSON object.
Type
Object

(static) Stringify(JSONObject) → {String}

This function stringifies a given JavaScript object.
Parameters:
Name Type Description
JSONObject Object The object which should be stringified.
Source:
Returns:
The stringified JSON object.
Type
String