• Assert that the given value parses as a valid JSON string

    Parameters

    • val: string

      The value to test

    Returns boolean

    Is the String valid JSON?