stringCompare

Check whether a and b are equal UTF-8 JSON strings and return an ordering over them in strcmp() style.

int
stringCompare
(
string a
,
string b
)

Parameters

a string

a JSON string

b string

another JSON string

Return Value

Type: int

an integer less than zero if a < b, equal to zero if a == b, and greater than zero if a > b