@Override
    public void write( Writer writer )
	throws IOException {

	writer.write( '[' );

	ListIterator<JSONValue> iter = this.list.listIterator();
	int i = 0;
	while( iter.hasNext() ) {

	    JSONValue v = iter.next();

	    if( i > 0 )
		writer.write( "," );
	    
	    writer.write( " " );
	    
	    // Silently convert Java null to JSON null
	    if( v == null )
		JSONValue.NULL.write( writer );
	    else
		v.write( writer );

	    i++;
	}
	
	if( i > 0 )
	    writer.write( " " );

	writer.write( ']' );
    }