In fairness though, json will probably wind up being a common configuration format anyhow. And the idea of programmatically configurable system software is nice. I liked the Mongrel2 approach of having it in SQLite.
In fairness though, json will probably wind up being a common configuration format anyhow. And the idea of programmatically configurable system software is nice. I liked the Mongrel2 approach of having it in SQLite.
That said, I can't think of any reason a web server needs super accurate numbers. All the config options I can think of require nice round ints. Maybe specifying weights to individual backends to proxy to (so all the weights sum up to 1.0)?
JSON is a subset of the ECMA JavaScript standard which declares only floating point.
Do "100!" on wolfram alpha and find me a parser that will load that as an example.
I think I would prefer toml take off as a config language.
We use XML (still after 10 years). For all its warts, at least parsers and deserializers work properly.