The source of the error is actually the conversion of the code of parameters into JSON. The boolean in Ansible should be defined as yes|no and Ansible will convert that into true boolean as true|false. To give also some clarity, here are some additional explanations and how to use true booleans in Ansible: hxxps://emilwypych.com/2018/01/28/ansible-boolean-variable-in-extra-vars/
So far I can see the problem at the JSONDecoder (import json) for Python 2.7
Will update once I have more ...
UPDATE:
The problem as suspected, the produced boolean values by Ansible are capitalized on the first letter. JSON format takes only in lower case, so just do a replace on the parameters and that solves the issue.
Ansible module: check_point_mgmt.py
After line134: parameters = parameters.replace("\\\\\"", "'")
Add two lines:
parameters = parameters.replace("True", "true")
parameters = parameters.replace("False", "false")
Additionally, the parameters in the API commands that are of Object type, only need indentation on the new line. Parameters with List type, need a dash on the new indented line.
Also, it seems like the Management API take all lowercase boolean values.
Hopefully, that helps somebody. I also submitted an issue for that Ansible module on github.