*/
public void test_WriteObjectAttrDouble() {
Exception ex = null;
try{
StringWriter w = new StringWriter();
JSONWriter jWriter = new JSONWriter(w);
jWriter.object();
jWriter.key("foo");
jWriter.value((double)100.959);
jWriter.close();
String str = w.toString();
// Verify it parses.
JSONObject test = new JSONObject(str);
assertTrue(str.equals("{\"foo\":100.959}"));
}catch(Exception ex1){