StringValue

Native Pascal, workflow preparation

Description

Returns the text of a wjString member of this object. A missing member, or a member of any other JSON kind, yields DefaultValue.

Syntax

Delphi

Function TPLWorkflowJSON.StringValue(Const MemberName, DefaultValue: WideString): WideString;

Parameters

MemberNameMember name to read
DefaultValueValue returned when the member is absent or not a string

Return values

WideStringThe member text, or DefaultValue

See also

WorkflowDataTools, ProbeWorkflowRequest