Skip to content

Commit 8765e02

Browse files
committed
Update release notes wrt #478
1 parent 6f6a30a commit 8765e02

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

release-notes/VERSION-2.x

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ JSON library.
1616

1717
2.14.0 (not yet released)
1818

19+
#478: Provide implementation of async JSON parser fed by `ByteBufferFeeder`
20+
(requested by Arjen P)
21+
(contributed by @pjfanning)
1922
#577: Improve performance of floating-point number parsing
2023
(contributed by @pjfanning)
2124
#684: Add "JsonPointer#appendProperty" and "JsonPointer#appendIndex"

src/main/java/com/fasterxml/jackson/core/json/async/NonBlockingByteBufferJsonParser.java

+6-3
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@
1212
import java.nio.channels.WritableByteChannel;
1313

1414
/**
15-
* Non-blocking parser implementation for JSON content.
15+
* Non-blocking parser implementation for JSON content that takes its input
16+
* via {@link java.nio.ByteBuffer} instance(s) passed.
1617
*<p>
1718
* NOTE: only supports parsing of UTF-8 encoded content (and 7-bit US-ASCII since
1819
* it is strict subset of UTF-8): other encodings are not supported.
20+
*
21+
* @since 2.14
1922
*/
2023
public class NonBlockingByteBufferJsonParser
2124
extends NonBlockingUtf8JsonParserBase
22-
implements ByteBufferFeeder {
23-
25+
implements ByteBufferFeeder
26+
{
2427
private ByteBuffer _inputBuffer = ByteBuffer.wrap(NO_BYTES);
2528

2629
public NonBlockingByteBufferJsonParser(IOContext ctxt, int parserFeatures,

src/main/java/com/fasterxml/jackson/core/json/async/NonBlockingJsonParser.java

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@
88
import com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer;
99

1010
/**
11-
* Non-blocking parser implementation for JSON content.
11+
* Non-blocking parser implementation for JSON content that takes its input
12+
* via {@code byte[]} passed.
1213
*<p>
1314
* NOTE: only supports parsing of UTF-8 encoded content (and 7-bit US-ASCII since
1415
* it is strict subset of UTF-8): other encodings are not supported.
16+
*
17+
* @since 2.9
1518
*/
1619
public class NonBlockingJsonParser
1720
extends NonBlockingUtf8JsonParserBase

src/main/java/com/fasterxml/jackson/core/json/async/NonBlockingJsonParserBase.java

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
/**
1616
* Intermediate base class for non-blocking JSON parsers.
17+
*
18+
* @since 2.9
1719
*/
1820
public abstract class NonBlockingJsonParserBase
1921
extends ParserBase

src/main/java/com/fasterxml/jackson/core/json/async/NonBlockingUtf8JsonParserBase.java

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
*<p>
1616
* NOTE: only supports parsing of UTF-8 encoded content (and 7-bit US-ASCII since
1717
* it is strict subset of UTF-8): other encodings are not supported.
18+
*
19+
* @since 2.9
1820
*/
1921
public abstract class NonBlockingUtf8JsonParserBase
2022
extends NonBlockingJsonParserBase

0 commit comments

Comments
 (0)