Closed zkessin closed 10 years ago
It would now be better to use maps to represent JSON data. This would make it easier to use and make it easier to handle the case where you have lists of objects as data. There is jsxn which is an extension to jsx which does this.
I think you are right, closing in favor of #38
It would be nice if we had a way to support JSON data, If you decode a json with JSX you get a data structure like this
[{<<"test">>, 12345}]
, the problem is that if you try to pass that to prolog it thinks that the first element of the tuple is callable. When I ran this test https://gist.github.com/zkessin/52c96f8d5e6285497e8f I get this error: