3 ms·
Basic JSON support using Prolog's built-in operator precedence parsing or pio lib should be as easy as :- op(600, xfy, :). MyJSON = { "this"
by tannhaeuser 6y ago
Basic JSON support using Prolog's built-in operator precedence parsing or pio lib should be as easy as
:- op(600, xfy, :).
MyJSON =
{ "this": "bla",
"that": 100,
"L": [ 1, "two", 3 ] }
provided your Prolog has curly braces (should come with DCGs).