SWI-Prolog Did You Know Did you know? SWI-Prolog can handle Unix signals Search Documentation:
Predicate term_to_json/2