As we know, if we want to design and implement a programming language like JAVA, C++ and C language, we will reference the compilation theory. Similarly, if we would like to design and implement a data exchange format language, like JSON and Google protocol buffer to store the serialized objects, what theory shall we use to solve the problem? More precisely, does there exist a domain that study how to design a data exchange format and its corresponding books and publications?

The format shall be terse, robust, readable and have efficient en/decoding. The dilemma between binary format and textual format etc.


closed as unclear what you're asking by David Richerby, vonbrand, András Salamon, Raphael Jan 30 '14 at 23:05

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    $\begingroup$ "Philosophy"? Mathematical thinking, maybe. I don't think I understand what you are asking. In any case, the topic strikes me to be of rather practical concern; in theoretical models, any non-trivial encoding suffices. So, in order to make this an answerable question, please clarify what the problem is and in particular what "better" means here. $\endgroup$ – Raphael Jan 22 '14 at 18:10
  • $\begingroup$ After the edit, I still don't know what "the problem" is. The complete switch of tags confuses me, too. $\endgroup$ – Raphael Jan 22 '14 at 22:11
  • $\begingroup$ The problem is how to design a data exchange format @Raphael $\endgroup$ – pptime Jan 23 '14 at 8:54
  • $\begingroup$ That's trivial unless you give further restrictions/goals. Shortness? Robustness? Readability? Efficient en-/decoding? ... $\endgroup$ – Raphael Jan 23 '14 at 8:59
  • $\begingroup$ Of course, that's why I ask. When asking about the domain and discipline, people are asking the issues to be considered when facing the topic, right? @Raphael $\endgroup$ – pptime Jan 30 '14 at 19:26