public void test_WriteObjectAttrJSONObject() {
Exception ex = null;
try{
StringWriter w = new StringWriter();
JSONWriter jWriter = new JSONWriter(w);
jWriter.object();
jWriter.key("foo");
// Verify we can put a JSONObject into the stream!
JSONObject jObj = new JSONObject();
jObj.put("foo", true);