The constants provided by the JadeJson class are listed in the following table.
Class Constant | Integer Value | Description |
---|---|---|
Format_Json_Microsoft | 0 | The JSON format as is expected by the Microsoft DataContractJsonSerializer class. This format type does not support circular references or multiple references to the same object in the returned data. (An exception is generated if the situation is detected.) |
Format_Json_Newton | 2 | The JSON format is as expected by the NewtonSoft Json class software. This format is different from Microsoft in the structure, tags, and the format of some primitive types. The output includes identifiers for each object and references to already included objects, and therefore supports circular and multiple references to the same object in the returned data. |