Function

NM-1.0NMutils_is_json_objectSince 1.6

  • Parameters

    • str: string

      the JSON string to test

    Returns boolean

    whether the passed string is valid JSON. If libnm is not compiled with libjansson support, this check will also return true for possibly invalid inputs. If that is a problem for you, you must validate the JSON yourself.

    1.6