资 源 简 介
Indent-based hierarchy
A parser for a simple human readable hierarchical structure. Something like Xml or Json but intended for simplified human use.
The format is quite simple and based on indentation; the number of leading white spaces.
Note:
The use of TAB chars along with WHITE spaces may cause incorrect and unexpected results.
Please refer to the javadoc on how to automatically convert TABS to a given number of WHITE spaces in order to overcome this issue. However, the best advice is not to use TAB.
Example:
book name = xml for dummyes number of pages = 999 table of contents chapter 1 title = wow this stuff is good chapter 2 title = another amazing good stuff chapter 3 title = missing author = very clever name = john smith affiliation = uau
Expected behaviour:
book.name -> xml for