@Override public void writeFieldName(SerializableString name) throws IOException { writeFieldName(name.getValue()); }
@Override public void writeFieldName(SerializableString name) throws IOException { writeFieldName(name.getValue()); }
@Override public void writeFieldName(SerializableString name) throws IOException, JsonGenerationException { writeFieldName(name.getValue()); }
@Override public void writeFieldName(SerializableString name) throws IOException { writeFieldName(name.getValue()); }
@Override public void writeFieldName(SerializableString name) throws IOException { writeFieldName(name.getValue()); }
@Override public void writeFieldName(SerializableString name) throws IOException { writeFieldName(name.getValue()); }
@Override public void writeFieldName(SerializableString name) throws IOException { writeFieldName(name.getValue()); }
public void writeFieldName(SerializableString name) throws IOException, JsonGenerationException { writeFieldName(name.getValue()); }
@Override public final void copyCurrentStructure(JsonParser jp) throws IOException, JsonProcessingException { JsonToken t = jp.getCurrentToken(); // Let's handle field-name separately first if (t == JsonToken.FIELD_NAME) { writeFieldName(jp.getCurrentName()); t = jp.nextToken(); // fall-through to copy the associated value } switch (t) { case START_ARRAY: writeStartArray(); while (jp.nextToken() != JsonToken.END_ARRAY) { copyCurrentStructure(jp); } writeEndArray(); break; case START_OBJECT: writeStartObject(); while (jp.nextToken() != JsonToken.END_OBJECT) { copyCurrentStructure(jp); } writeEndObject(); break; default: // others are simple: copyCurrentEvent(jp); } }
@Override public final void copyCurrentStructure(JsonParser jp) throws IOException, JsonProcessingException { JsonToken t = jp.getCurrentToken(); // Let's handle field-name separately first if (t == JsonToken.FIELD_NAME) { writeFieldName(jp.getCurrentName()); t = jp.nextToken(); // fall-through to copy the associated value } switch (t) { case START_ARRAY: writeStartArray(); while (jp.nextToken() != JsonToken.END_ARRAY) { copyCurrentStructure(jp); } writeEndArray(); break; case START_OBJECT: writeStartObject(); while (jp.nextToken() != JsonToken.END_OBJECT) { copyCurrentStructure(jp); } writeEndObject(); break; default: // others are simple: copyCurrentEvent(jp); } }
break; case FIELD_NAME: writeFieldName(jp.getCurrentName()); break; case VALUE_STRING:
break; case FIELD_NAME: writeFieldName(jp.getCurrentName()); break; case VALUE_STRING: