Small library which gives you JSONObject/ JSONArray or List of JSONArrays for passed properties and context object. This is done using OGNL.
pawanspace/JavaObjectToJSON
Small library with OGNL support that gives you JSONObject/ JSONArray or JSONArray for passed properties and context object(s).
Java