commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hao Zheng" <volezh...@gmail.com>
Subject [configuration] JSON format
Date Tue, 08 Apr 2008 09:02:06 GMT
hi all configuration devs,

I have a simple and straightforward idea on JSON format. Since Java 6
suppports scripting in Java, it include the Mozilla Rhino engine for
the JavaScript programming language. JSON is a subset of Javascript,
so we can use a simple call "eval()" to parse the configuration file.
Then we can access the structure in Java, as described in
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/scripting/
. In this way, no parser is needed. Do you think it could be a
possible way?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message