Uses of Class
com.fasterxml.jackson.core.JsonGenerationException
Packages that use JsonGenerationException
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances.JSON-specific parser and generator implementation classes that
Jackson defines and uses.
-
Uses of JsonGenerationException in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core that return JsonGenerationExceptionModifier and TypeMethodDescriptionJsonGenerationException.withGenerator(JsonGenerator g) Fluent method that may be used to assign originatingJsonGenerator, to be accessed usinggetProcessor().Methods in com.fasterxml.jackson.core that throw JsonGenerationExceptionModifier and TypeMethodDescriptionprotected voidJsonGenerator._reportError(String msg) Helper method used for constructing and throwingJsonGenerationExceptionwith given base message. -
Uses of JsonGenerationException in com.fasterxml.jackson.core.json
Methods in com.fasterxml.jackson.core.json that throw JsonGenerationExceptionModifier and TypeMethodDescriptionprivate voidWriterBasedJsonGenerator._appendCharacterEscape(char ch, int escCode) Method called to append escape sequence for given character, at the end of standard output buffer; or if not possible, write out directly.private final intUTF8JsonGenerator._handleLongCustomEscape(byte[] outputBuffer, int outputPtr, int outputEnd, byte[] raw, int remainingChars) private intWriterBasedJsonGenerator._prependOrWriteCharacterEscape(char[] buffer, int ptr, int end, char ch, int escCode) Method called to try to either prepend character escape at front of given buffer; or if not possible, to write it out directly.private voidWriterBasedJsonGenerator._prependOrWriteCharacterEscape(char ch, int escCode) Method called to try to either prepend character escape at front of given buffer; or if not possible, to write it out directly.protected final voidUTF8JsonGenerator._writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, int inputEnd) protected final intUTF8JsonGenerator._writeBinary(Base64Variant b64variant, InputStream data, byte[] readBuffer) protected final intUTF8JsonGenerator._writeBinary(Base64Variant b64variant, InputStream data, byte[] readBuffer, int bytesLeft) protected voidWriterBasedJsonGenerator._writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, int inputEnd) protected intWriterBasedJsonGenerator._writeBinary(Base64Variant b64variant, InputStream data, byte[] readBuffer) protected intWriterBasedJsonGenerator._writeBinary(Base64Variant b64variant, InputStream data, byte[] readBuffer, int bytesLeft) private final intUTF8JsonGenerator._writeCustomEscape(byte[] outputBuffer, int outputPtr, SerializableString esc, int remainingChars) private voidWriterBasedJsonGenerator._writeSegmentASCII(int end, int maxNonEscaped) private voidWriterBasedJsonGenerator._writeSegmentCustom(int end) private voidWriterBasedJsonGenerator._writeStringASCII(char[] text, int offset, int len, int maxNonEscaped) private voidWriterBasedJsonGenerator._writeStringASCII(int len, int maxNonEscaped) private voidWriterBasedJsonGenerator._writeStringCustom(char[] text, int offset, int len) private voidWriterBasedJsonGenerator._writeStringCustom(int len) private final voidUTF8JsonGenerator._writeUTF8Segment(byte[] utf8, int offset, int len) private final voidUTF8JsonGenerator._writeUTF8Segment2(byte[] utf8, int offset, int len) private final voidUTF8JsonGenerator._writeUTF8Segments(byte[] utf8, int offset, int totalLen) Method called when UTF-8 encoded (but NOT yet escaped!) content is not guaranteed to fit in the output buffer after escaping; as such, we just need to chunk writes.voidUTF8JsonGenerator.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len) intUTF8JsonGenerator.writeBinary(Base64Variant b64variant, InputStream data, int dataLength) voidWriterBasedJsonGenerator.writeBinary(Base64Variant b64variant, byte[] data, int offset, int len) intWriterBasedJsonGenerator.writeBinary(Base64Variant b64variant, InputStream data, int dataLength)