public static void writeLong(long data, JsonGenerator gen) throws IOException {
    """
	Writes a long, using quotes only if it's too big (over 53-bit mantissa).
    """
    if (data > MAX_JSON_INT || data < -MAX_JSON_INT) {
      gen.writeString(Long.toString(data));
    } else {
      gen.writeNumber(data);
    }
  }
public static void writeLong(long data, JsonGenerator gen) throws IOException {
    if (data > MAX_JSON_INT || data < -MAX_JSON_INT) {
      gen.writeString(Long.toString(data));
    } else {
      gen.writeNumber(data);
    }
  }
public static void writeLong ( long data , JsonGenerator gen ) throws IOException { if ( data > MAX_JSON_INT || data < - MAX_JSON_INT ) { gen . writeString ( Long . toString ( data ) ) ; } else { gen . writeNumber ( data ) ; } }
Writes a long, using quotes only if it's too big (over 53-bit mantissa).
Writes a long using quotes only if it s too big ( over 53 - bit mantissa ) .