Core
struct.string
Struct that accepts string values.
@defjs/core · Function
Signature
function string(): StringStruct;
-
Accepts
stringvalues only; anything else fails withinvalid_type. -
As a body root, or as an inbound
output/errorstruct, the bytes stay text instead of being parsed as JSON.