datatree


Version: 1.0
Size:
37KB
Requirements:
No special requirements
Seller:
Ivan Vecerina
Price:
Free
System:
Windows XP/2000/98
Rating:
4.2
License:
Freeware

Description - datatree



This library provides support for a hierarchical data structures that can be manipulated in-memory and streamed to/from a flat file. It is a stripped-out version of a C++ library I have been using since 1990 in a number of projects, as a serialization format and for configuration files. DataTree is actually very Similar to JSON, a community effort to provide a lightweight alternative to XML. It was also designed with the same goals as JSON in mind (Simplicity, better Readability, etc). This library is built around two core concepts: A hierarchical in-memory data structure, where each node is either: a leaf value, represented as a string (or any byte sequence) an array node, containing an ordered sequence of sub-nodes a record node, or dictionary, containing a list of named sub-nodes This maps in a very straightforward way to the fundamental data structures available in perl, PHP, and other similar languages. A standard way to traverse this tree-like structure, either in pull/iterator mode, or in a Push/visitor-like mode



More in Components & Libraries-datatree

Sequence Nodes Data Structures Sub Nodes This