public JsonWriter value(Object value) throws IOException{
		if (value == null){
			return nullValue();
		}
		writeDeferredName();
		beforeValue(false);
		if (value instanceof Timestamp) {
			string(datetimeF.format(value));
		} else if (value instanceof java.sql.Date){
			string(dateF.format(value));
		} else if (value instanceof java.util.Date) {
			string(datetimeF.format(value));
		} else if (value instanceof Boolean) {
			out.write((Boolean)value ? "true" : "false");
		} else if (value instanceof Number) {
			if (value instanceof Double  || value instanceof Float) {
				out.write(df.format(value).toString());
			} else {
				out.write(value.toString());
			}
		} else {
			string(value.toString());
		}
		return this;
	}