I think Google Gson[1] is a very good choice here, where its very handy
when converting back and forth between Config Objects & JSON,
with this we don’t need to write the config builder/formatter logic, and it
also supports parity printing JSON.

Suho

[1] http://code.google.com/p/google-gson/

On Tue, Mar 12, 2013 at 3:02 PM, Srinath Perera <[email protected]> wrote:

> Hi Azeez,
>
> Are we doing the quotes around the variable names or skip them?
>
> e.g.  { "glossary": { "title": "*example* glossary"}
>
> --Srinath
>
>
>
>
> On Tue, Mar 12, 2013 at 2:18 PM, Afkham Azeez <[email protected]> wrote:
>
>>
>>
>> On Tue, Mar 12, 2013 at 2:14 PM, Eranda Sooriyabandara 
>> <[email protected]>wrote:
>>
>>> Hi Azeez,
>>>
>>>
>>>> I am starting a new thread to see how everybody feels about using JSON
>>>> syntax for the config files wer are using. I personally feel that it looks
>>>> elegant, and very easy to edit with vi. Also, we don't do any schema
>>>> validation of our config files, and the config file structures are simple,
>>>> so JSON could be more appropriate.
>>>>
>>>
>>> 0, Using JSON for configuration files gives an advantage, but is it
>>> worth the effort need to change the documents, migration etc...?
>>>
>>
>> This is Carbon 5. This is where we are doing major platform enhancements.
>> A lot of documents will have to be changed with Carbon 5.
>>
>>
>>>
>>> thanks
>>> Eranda
>>> *
>>> *
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> ============================
> Srinath Perera, Ph.D.
>    http://www.cs.indiana.edu/~hperera/
>    http://srinathsview.blogspot.com/
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*S. Suhothayan
*
*Software Engineer,
Member, Management Committee - Data Technologies Team,
*
* *
*WSO2 Inc. **http://wso2.com
 <http://wso2.com/>*
*lean . enterprise . middleware*

*cell: (+94) 779 756 757
blog: **http://suhothayan.blogspot.com/* <http://suhothayan.blogspot.com/>*
twitter: **http://twitter.com/suhothayan* <http://twitter.com/suhothayan>*
linked-in: **http://lk.linkedin.com/in/suhothayan*
*
*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to