JSON data type | IS data type |
object | Document |
string | String |
number (real) | Float or Double Java wrapper, depending on the option you select for mapping real numbers. |
number (integer) | Integer or Long Java wrapper, depending on the option you select for mapping integers. |
true/false | Boolean Java wrapper type |
array | Array of an Integration Server data type. If the JSON object contains a string array, Integration Server sets the corresponding field in the IS document type to String List. If the JSON object contains a two-dimensional string array, Integration Server sets the corresponding field in the IS document type to String Table. If the JSON object contains a array having different types of objects (example, integer, string), Integration Server sets the corresponding field in the IS document type to Object List with Java wrapper type as UNKNOWN. Note:Integration Server does not support the following multi-dimensional arrays in JSON objects: Two-dimensional arrays of data types other than string Multi-dimensional arrays of three or more dimensions (three-dimensional, four-dimensional, and so on.) For IS document types created from a JSON object using Designer, these kinds of arrays become an Object with a Java wrapper type of UNKNOWN. |
array of null | Object List |
null | null |
All others | String Note: If an object has a toString() implementation, Integration Server uses that implementation. If the object does not provide a toString() implementation, Integration Server uses Object.toString(). Object.toString() returns the class name and hexadecimal representation of the hash code of the object, such as "javax.namining.InitialContext@3ae6f00b". |