
Jeremy Maitin-Shepard wrote:
"Kasun Indrasiri" <kasun147@gmail.com> writes: >
Thus, it is not clear what advantage a JSON-format archive would offer. The most obvious use for JSON is for communicating with a program written in JavaScript, but then it would be necessary to follow a particular format so that the JavaScript program could do something useful with the data, and therefore Boost Serialization is not the right tool for the job.
Programs written in C++ often need to inter communicate with programs written in other languages. Or they need to store data structures in a form that can be processed by programs written in another language. JSON is now a common format for doing this and has parsers any many languages. Last but not least, even if the program is all C++ some folks would prefer a recognizable and widely used format -- the serialization 'proprietary formats' don't qualify on that score. Jeff