in reply to Recursive Function To Parse File For Generating Hash
Why? Because the devil's in the detail. What happens if a value contains a literal "{"? You'll have to escape it with something like "\". What if your data contains a literal "\", then? How do you break lines? How to add comments?
These kinds of problems have been solved 1000 times already. A format like YAML should be expressive enough for your needs, so why not use something that's been proven to work?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Recursive Function To Parse File For Generating Hash
by dimar (Curate) on Nov 05, 2004 at 21:05 UTC |