Function

Json-1.0Jsonstring_compareSince 1.2

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

    Parameters

    • a: string

      a JSON string

    • b: string

      another JSON string

    Returns number

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

    1.2