in reply to C Library for Perl-like Hashes Creation
It's entirely possible I'm barking up the wrong tree, but if you have in mind, perhaps, some sort of data exchange, you may wish to have a look at YAML (spec).
HTH,