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);
wjNullA JSON null. In a JSON merge patch such a value removes the member
wjBooleanText is true or false; any other text is rejected by SerializeFormatted
wjNumberText holds the number as it appears in the JSON source. TryInt64 and TryDouble apply to this kind only
wjStringText holds the string value; serialisation escapes it and adds the quotes
wjArrayContainer whose children are unnamed. Add and Insert are allowed
wjObjectContainer 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