Commits

Andris Zeila authored c9de6ac944b
.......PS. [ZBXNEXT-4502] added support of full jsonpath functionality * commit 'e40b4995d877edebae4404ee4056df2b7d9ced72': (61 commits) .......PS. [ZBXNEXT-4502] fixed jsonpath expression evaluation when checking for presence of an object or array .......PS. [ZBXNEXT-4502] applied patch for adding sum() function support in jsonpath queries .......PS. [ZBXNEXT-4502] fixed jsonpath queries for element existance when element value was string .......PS. [ZBXNEXT-4502] fixed jsonpath function parsing when compiling jsonpath .......PS. [ZBXNEXT-4502] removed duplicated function declaration .......PS. [ZBXNEXT-4502] updated replaced deprecated zbx_json_open_path in 4.2 code with zbx_jsonpath_query, fixed merge ...G...... [ZBXNEXT-4502] fixed windows build .......PS. [ZBXNEXT-4502] renamed zbx_json_path_open() to zbx_json_open_path() .......PS. [ZBXNEXT-4502] fixed test case name .......PS. [ZBXNEXT-4502] fixed comments .......PS. [ZBXNEXT-4502] refactored jsonpath expression evaluation to avoid false positive analyzer warnings ...G...PS. [ZBXNEXT-4502] fixed coding style ...G...PS. [ZBXNEXT-4502] added more variant comparison test cases ...G...PS. [ZBXNEXT-4502] fixed coding style ...G...PS. [ZBXNEXT-4502] - changed json static error message buffer to thread local for windows ...G...PS. [ZBXNEXT-4502] improved comments ...G...PS. [ZBXNEXT-4502] fixed coding style: * reduced local variable scope * improved error message ...G...PS. [ZBXNEXT-4502] refactored zbx_jsonpath_compile() to avoid touching the output structure if the compilation failed Also fixed various coding style issues. ...G...PS. [ZBXNEXT-4502] fixed memory leak ...G...PS. [ZBXNEXT-4502] fixed coding style: * reduced local variable scope * use sizoef instead of 4 when copying integer variable contents * fixed comments ... (cherry picked from commit 8ceddc49ebcb31e1be87dd1a948b9f827615b1db)