geoview-core - v2.1.2
    Preparing search index...

    Function isJsonString

    • Validates if a JSON string is well formatted

      Parameters

      • str: string

        The string to test

      Returns boolean

      true if the JSON is valid, false otherwise