• Compares two JSON objects using JSON.stringify.

    Parameters

    • json1: any

      First object

    • json2: any

      Second object

    Returns boolean

    True if objects are the same