SWI-Prolog / packages-http

The SWI-Prolog HTTP server and client libraries
23 stars 23 forks source link

JSON object not recognized as type in another JSON object #149

Open rancedelong opened 2 years ago

rancedelong commented 2 years ago

prolog_to_json fails when a json_object is used as a type for a field in another json_object. It seems that the type check for a record, which is called in the process of the translation, fails. t.txt