// 
// Decompiled by Procyon v0.6.0
// 

package org.bson.json;

class ShellInt64Converter implements Converter<Long>
{
    @Override
    public void convert(final Long value, final StrictJsonWriter writer) {
        if (value >= -2147483648L && value <= 2147483647L) {
            writer.writeRaw(String.format("NumberLong(%d)", value));
        }
        else {
            writer.writeRaw(String.format("NumberLong(\"%d\")", value));
        }
    }
}
