is_json_object


Description:


[ Version ( since = "1.6" ) ]
public bool is_json_object (string str) throws Error

Parameters:

str

the JSON string to test

Returns:

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.


Namespace: NM.Utils
Package: libnm