PDA

View Full Version : S2AP/config file format



Beta User
May 8th, 2008, 12:35 AM
Hello,

Why do you choose such non-usual format for config files?

Can you recommend editor with highlighting/validation features?

Olex

Sam Brannen
May 8th, 2008, 03:53 AM
Hi Olex,

Configuration files in the Platform use the JSON (i.e., JavaScript Object Notation) format.
Thus, you should be able to use any JavaScript editor for appropriate syntax highlighting.

regards,

Sam

Beta User
May 8th, 2008, 03:59 AM
Aha, ok.
Seems like you plan to do ajax-based administration console :)

BR, Olex

Glyn Normington
May 8th, 2008, 04:03 AM
We wanted a relatively simple format with a deep structure where necessary. yaml was considered, but we thought that counting whitespace significant was a support nightmare in the making, so we went for JSON. See http://www.json.org/.

I use textmate on the Mac which has a JSON bundle available (although I had to install GetBundle first). I wouldn't be surprised if other editors had JSON support.