TPLWorkflowJSONKind
Native Pascal, workflow preparation
Description
Names the kind of value that a TPLWorkflowJSON node holds. TPLWorkflowJSON.Create takes the kind as its argument and stores it in the Kind field
Values
TPLWorkflowJSONKind = (wjNull, wjBoolean, wjNumber, wjString, wjArray, wjObject);| wjNull | A JSON null. In a JSON merge patch such a value removes the member |
|---|---|
| wjBoolean | Text is true or false; any other text is rejected by SerializeFormatted |
| wjNumber | Text holds the number as it appears in the JSON source. TryInt64 and TryDouble apply to this kind only |
| wjString | Text holds the string value; serialisation escapes it and adds the quotes |
| wjArray | Container whose children are unnamed. Add and Insert are allowed |
| wjObject | Container whose children are named members with unique names. Add, Find, SetMember and RemoveMember are allowed |
Remarks
Add raises an exception for the four scalar kinds because they are not containers
See also
TPLWorkflowJSON, TPLWorkflowJSONOptions, TPLWorkflowJSONError