Convenient Representations of XML/JSON
Posted: Sat Nov 15, 2014 2:23 am
The Dyalog development team is considering adding a system function to convert the popular JSON format to and from one or more APL representations. Several alternative representations are being considered. Very briefly, the most likely candidates are:
1. The format used by ⎕XML (more or less).
2. A similar format, but instead of indicating the depth of nesting with an integer column, use APL array nesting and enclose lower levels.
3. Vectors of nested name/value pairs.
4. Use namespaces to represent JSON objects.
In particular, given that ⎕XML has been out for some years now, we are interested to hear from people who have used this tool "in anger", to hear whether the matrix format has been convenient, or a nested format would have been more useful.
If you do not wish to post responses in public, please send responses to support@dyalog.com or to me personally.
Thanks in advance!
Morten
1. The format used by ⎕XML (more or less).
2. A similar format, but instead of indicating the depth of nesting with an integer column, use APL array nesting and enclose lower levels.
3. Vectors of nested name/value pairs.
4. Use namespaces to represent JSON objects.
In particular, given that ⎕XML has been out for some years now, we are interested to hear from people who have used this tool "in anger", to hear whether the matrix format has been convenient, or a nested format would have been more useful.
If you do not wish to post responses in public, please send responses to support@dyalog.com or to me personally.
Thanks in advance!
Morten