Did you know ... Search Documentation:
Predicate prolog_bool_to_json/2