JSONPath Tools / @jsonpath-tools/jsonpath / serializeLiteral
Function: serializeLiteral()
ts
function serializeLiteral(value, stringQuotes): string
Converts a literal to a text representation.
Parameters
value
Literal value.
null
| string
| number
| boolean
stringQuotes
StringQuotes
= StringQuotes.double
Type of string quotes that should be used.
Returns
string