I am currently writing an API for my site so that a client program can easily access data. Currently, for simple functions, such as metadata and search, I am using JSON, as it is compact and suits my needs since the data is relatively simple.
However, one of the primary functions is retrieving certain data that is complicated and nested. Should use JSON, since it is lightweight, or XML, because it seems to be more suitable for complicated nesting of data?
No comments:
Post a Comment