Skip to content

JSONPath Tools / @jsonpath-tools/jsonpath / serializeString

Function: serializeString() ​

ts
function serializeString(value, quotes?): string;

Converts a string to a text representation.

Parameters ​

value ​

string

String value.

quotes? ​

StringQuotes = StringQuotes.double

Type of quotes that should be used.

Returns ​

string