Modifier and Type | Method and Description |
---|---|
static void |
transfer(com.fasterxml.jackson.core.JsonParser from,
com.fasterxml.jackson.core.JsonGenerator to,
JsonStreamConfig config)
Transfer tokens, starting with the current token.
|
static void |
transferCurrentToken(com.fasterxml.jackson.core.JsonParser from,
com.fasterxml.jackson.core.JsonGenerator to,
JsonStreamConfig config)
Transfer a single token.
|
static void |
transferNext(com.fasterxml.jackson.core.JsonParser from,
com.fasterxml.jackson.core.JsonGenerator to,
JsonStreamConfig config)
Transfer tokens, starting with the next token.
|
public static void transferNext(com.fasterxml.jackson.core.JsonParser from, com.fasterxml.jackson.core.JsonGenerator to, JsonStreamConfig config) throws IOException
from
- Parser to transfer data from.to
- Generator to transfer data to.config
- Configuration to use for copying.IOException
- IOExceptionpublic static void transfer(com.fasterxml.jackson.core.JsonParser from, com.fasterxml.jackson.core.JsonGenerator to, JsonStreamConfig config) throws IOException
from
- Parser to transfer data from.to
- Generator to transfer data to.config
- Configuration to use for copying.IOException
- IOExceptionpublic static void transferCurrentToken(com.fasterxml.jackson.core.JsonParser from, com.fasterxml.jackson.core.JsonGenerator to, JsonStreamConfig config) throws IOException
from
- Parser to transfer data from.to
- Generator to transfer data to.config
- Configuration to use for copying.IOException
- IOException