public final void writeString(SerializableString paramSerializableString) throws IOException, JsonGenerationException { _verifyValueWrite("write text value"); if (this._outputTail >= this._outputEnd) _flushBuffer(); byte[] arrayOfByte1 = this._outputBuffer; int i = this._outputTail; this._outputTail = (i + 1); arrayOfByte1[i] = 34; _writeBytes(paramSerializableString.asQuotedUTF8()); if (this._outputTail >= this._outputEnd) _flushBuffer(); byte[] arrayOfByte2 = this._outputBuffer; int j = this._outputTail; this._outputTail = (j + 1); arrayOfByte2[j] = 34; }
public void writeString(SerializableString paramSerializableString) throws IOException, JsonGenerationException { if (paramSerializableString == null) { writeNull(); return; } _append(JsonToken.VALUE_STRING, paramSerializableString); }
protected final void _writePPFieldName(SerializableString paramSerializableString, boolean paramBoolean) throws IOException, JsonGenerationException { if (paramBoolean) this._cfgPrettyPrinter.writeObjectEntrySeparator(this); char[] arrayOfChar1; while (true) { arrayOfChar1 = paramSerializableString.asQuotedChars(); if (!isEnabled(JsonGenerator.Feature.QUOTE_FIELD_NAMES)) break; if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar2 = this._outputBuffer; int i = this._outputTail; this._outputTail = (i + 1); arrayOfChar2[i] = '"'; writeRaw(arrayOfChar1, 0, arrayOfChar1.length); if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar3 = this._outputBuffer; int j = this._outputTail; this._outputTail = (j + 1); arrayOfChar3[j] = '"'; return; this._cfgPrettyPrinter.beforeObjectEntries(this); } writeRaw(arrayOfChar1, 0, arrayOfChar1.length); }
public final void writeFieldName(SerializableString paramSerializableString) throws IOException, JsonGenerationException { int i = 1; int j = this._writeContext.writeFieldName(paramSerializableString.getValue()); if (j == 4) _reportError("Can not write a field name, expecting a value"); if (j == i); while (true) { _writeFieldName(paramSerializableString, i); return; i = 0; } }
public final void writeString(SerializableString paramSerializableString) throws IOException, JsonGenerationException { _verifyValueWrite("write text value"); if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar1 = this._outputBuffer; int i = this._outputTail; this._outputTail = (i + 1); arrayOfChar1[i] = '"'; char[] arrayOfChar2 = paramSerializableString.asQuotedChars(); int j = arrayOfChar2.length; if (j < 32) { if (j > this._outputEnd - this._outputTail) _flushBuffer(); System.arraycopy(arrayOfChar2, 0, this._outputBuffer, this._outputTail, j); this._outputTail = (j + this._outputTail); } while (true) { if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar3 = this._outputBuffer; int k = this._outputTail; this._outputTail = (k + 1); arrayOfChar3[k] = '"'; return; _flushBuffer(); this._writer.write(arrayOfChar2, 0, j); } }
private int _writeCustomEscape(byte[] paramArrayOfByte, int paramInt1, SerializableString paramSerializableString, int paramInt2) throws IOException, JsonGenerationException { byte[] arrayOfByte = paramSerializableString.asUnquotedUTF8(); int i = arrayOfByte.length; if (i > 6) return _handleLongCustomEscape(paramArrayOfByte, paramInt1, this._outputEnd, arrayOfByte, paramInt2); System.arraycopy(arrayOfByte, 0, paramArrayOfByte, paramInt1, i); return paramInt1 + i; }
protected final void _writeFieldName(SerializableString paramSerializableString) throws IOException, JsonGenerationException { byte[] arrayOfByte1 = paramSerializableString.asQuotedUTF8(); if (!isEnabled(JsonGenerator.Feature.QUOTE_FIELD_NAMES)) { _writeBytes(arrayOfByte1); return; } if (this._outputTail >= this._outputEnd) _flushBuffer(); byte[] arrayOfByte2 = this._outputBuffer; int i = this._outputTail; this._outputTail = (i + 1); arrayOfByte2[i] = 34; int j = arrayOfByte1.length; if (1 + (j + this._outputTail) < this._outputEnd) { System.arraycopy(arrayOfByte1, 0, this._outputBuffer, this._outputTail, j); this._outputTail = (j + this._outputTail); byte[] arrayOfByte4 = this._outputBuffer; int m = this._outputTail; this._outputTail = (m + 1); arrayOfByte4[m] = 34; return; } _writeBytes(arrayOfByte1); if (this._outputTail >= this._outputEnd) _flushBuffer(); byte[] arrayOfByte3 = this._outputBuffer; int k = this._outputTail; this._outputTail = (k + 1); arrayOfByte3[k] = 34; }
protected final void _writePPFieldName(SerializableString paramSerializableString, boolean paramBoolean) throws IOException, JsonGenerationException { if (paramBoolean) this._cfgPrettyPrinter.writeObjectEntrySeparator(this); while (true) { boolean bool = isEnabled(JsonGenerator.Feature.QUOTE_FIELD_NAMES); if (bool) { if (this._outputTail >= this._outputEnd) _flushBuffer(); byte[] arrayOfByte2 = this._outputBuffer; int j = this._outputTail; this._outputTail = (j + 1); arrayOfByte2[j] = 34; } _writeBytes(paramSerializableString.asQuotedUTF8()); if (bool) { if (this._outputTail >= this._outputEnd) _flushBuffer(); byte[] arrayOfByte1 = this._outputBuffer; int i = this._outputTail; this._outputTail = (i + 1); arrayOfByte1[i] = 34; } return; this._cfgPrettyPrinter.beforeObjectEntries(this); } }
public final void writeFieldName(SerializableString paramSerializableString) throws IOException, JsonGenerationException { int i = 1; int j = this._writeContext.writeFieldName(paramSerializableString.getValue()); if (j == 4) _reportError("Can not write a field name, expecting a value"); if (this._cfgPrettyPrinter != null) { if (j == i); while (true) { _writePPFieldName(paramSerializableString, i); return; i = 0; } } if (j == i) { if (this._outputTail >= this._outputEnd) _flushBuffer(); byte[] arrayOfByte = this._outputBuffer; int k = this._outputTail; this._outputTail = (k + 1); arrayOfByte[k] = 44; } _writeFieldName(paramSerializableString); }
public void writeString(SerializableString paramSerializableString) { if (paramSerializableString == null) { writeNull(); return; } _append(JsonToken.VALUE_STRING, paramSerializableString); }
protected final void _writePPFieldName(SerializableString paramSerializableString, boolean paramBoolean) { if (paramBoolean) this._cfgPrettyPrinter.writeObjectEntrySeparator(this); char[] arrayOfChar1; while (true) { arrayOfChar1 = paramSerializableString.asQuotedChars(); if (!isEnabled(JsonGenerator.Feature.QUOTE_FIELD_NAMES)) break; if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar2 = this._outputBuffer; int i = this._outputTail; this._outputTail = (i + 1); arrayOfChar2[i] = '"'; writeRaw(arrayOfChar1, 0, arrayOfChar1.length); if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar3 = this._outputBuffer; int j = this._outputTail; this._outputTail = (j + 1); arrayOfChar3[j] = '"'; return; this._cfgPrettyPrinter.beforeObjectEntries(this); } writeRaw(arrayOfChar1, 0, arrayOfChar1.length); }
public final void writeFieldName(SerializableString paramSerializableString) { int i = 1; int j = this._writeContext.writeFieldName(paramSerializableString.getValue()); if (j == 4) _reportError("Can not write a field name, expecting a value"); if (j == i); while (true) { _writeFieldName(paramSerializableString, i); return; i = 0; } }
public final void writeString(SerializableString paramSerializableString) { _verifyValueWrite("write text value"); if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar1 = this._outputBuffer; int i = this._outputTail; this._outputTail = (i + 1); arrayOfChar1[i] = '"'; char[] arrayOfChar2 = paramSerializableString.asQuotedChars(); int j = arrayOfChar2.length; if (j < 32) { if (j > this._outputEnd - this._outputTail) _flushBuffer(); System.arraycopy(arrayOfChar2, 0, this._outputBuffer, this._outputTail, j); this._outputTail = (j + this._outputTail); } while (true) { if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar3 = this._outputBuffer; int k = this._outputTail; this._outputTail = (k + 1); arrayOfChar3[k] = '"'; return; _flushBuffer(); this._writer.write(arrayOfChar2, 0, j); } }
public void writeFieldName(SerializableString paramSerializableString) throws IOException, JsonGenerationException { this.delegate.writeFieldName(paramSerializableString); }
public void writeString(SerializableString paramSerializableString) throws IOException, JsonGenerationException { this.delegate.writeString(paramSerializableString); }
public void writeFieldName(SerializableString paramSerializableString) throws IOException, JsonGenerationException { _append(JsonToken.FIELD_NAME, paramSerializableString); this._writeContext.writeFieldName(paramSerializableString.getValue()); }
public void _writeFieldName(SerializableString paramSerializableString, boolean paramBoolean) throws IOException, JsonGenerationException { if (this._cfgPrettyPrinter != null) { _writePPFieldName(paramSerializableString, paramBoolean); return; } if (1 + this._outputTail >= this._outputEnd) _flushBuffer(); if (paramBoolean) { char[] arrayOfChar5 = this._outputBuffer; int n = this._outputTail; this._outputTail = (n + 1); arrayOfChar5[n] = ','; } char[] arrayOfChar1 = paramSerializableString.asQuotedChars(); if (!isEnabled(JsonGenerator.Feature.QUOTE_FIELD_NAMES)) { writeRaw(arrayOfChar1, 0, arrayOfChar1.length); return; } char[] arrayOfChar2 = this._outputBuffer; int i = this._outputTail; this._outputTail = (i + 1); arrayOfChar2[i] = '"'; int j = arrayOfChar1.length; if (1 + (j + this._outputTail) >= this._outputEnd) { writeRaw(arrayOfChar1, 0, j); if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar4 = this._outputBuffer; int m = this._outputTail; this._outputTail = (m + 1); arrayOfChar4[m] = '"'; return; } System.arraycopy(arrayOfChar1, 0, this._outputBuffer, this._outputTail, j); this._outputTail = (j + this._outputTail); char[] arrayOfChar3 = this._outputBuffer; int k = this._outputTail; this._outputTail = (k + 1); arrayOfChar3[k] = '"'; }
@Override public SerializableString getEscapeSequence(int i) { return null; }
public void writeFieldName(SerializableString paramSerializableString) { _append(JsonToken.FIELD_NAME, paramSerializableString); this._writeContext.writeFieldName(paramSerializableString.getValue()); }
public final void _writeFieldName(SerializableString paramSerializableString, boolean paramBoolean) { if (this._cfgPrettyPrinter != null) { _writePPFieldName(paramSerializableString, paramBoolean); return; } if (1 + this._outputTail >= this._outputEnd) _flushBuffer(); if (paramBoolean) { char[] arrayOfChar5 = this._outputBuffer; int n = this._outputTail; this._outputTail = (n + 1); arrayOfChar5[n] = ','; } char[] arrayOfChar1 = paramSerializableString.asQuotedChars(); if (!isEnabled(JsonGenerator.Feature.QUOTE_FIELD_NAMES)) { writeRaw(arrayOfChar1, 0, arrayOfChar1.length); return; } char[] arrayOfChar2 = this._outputBuffer; int i = this._outputTail; this._outputTail = (i + 1); arrayOfChar2[i] = '"'; int j = arrayOfChar1.length; if (1 + (j + this._outputTail) >= this._outputEnd) { writeRaw(arrayOfChar1, 0, j); if (this._outputTail >= this._outputEnd) _flushBuffer(); char[] arrayOfChar4 = this._outputBuffer; int m = this._outputTail; this._outputTail = (m + 1); arrayOfChar4[m] = '"'; return; } System.arraycopy(arrayOfChar1, 0, this._outputBuffer, this._outputTail, j); this._outputTail = (j + this._outputTail); char[] arrayOfChar3 = this._outputBuffer; int k = this._outputTail; this._outputTail = (k + 1); arrayOfChar3[k] = '"'; }
public abstract SerializableString getEscapeSequence(int paramInt);