rla
August 9, 2022, 4:20pm
69
How feasible it would be extracting JSON-related code from there? HTML is big one and probably troublesome since so many guides and documentation refers to HTML support as being from http package.
General JSON representation was mentioned here:
Sounds good. For now my emphasis is on the low level. I definitely need support to get the high level right.
I have had discussions with @ericzinda on a new general JSON representation for Prolog terms. The idea is to create something where the terms you normally like to transfer (lists, strings, numbers, objects) come pretty natural, but the representation has escapes that allow for faithful round trip of arbitrary Prolog terms.
One thing at a time Auto yield is in theā¦
Was it about this representation? https://www.swi-prolog.org/pldoc/doc_for?object=term_to_json/3