jackson-core
jackson-core copied to clipboard
Core part of Jackson that defines Streaming API as well as basic shared abstractions
Due to reported issues wrt Lock-Free pool implementation (temporarily used as the default `RecyclerPool` for 2.17.0), its use seems dangerous. If we cannot solve (or at least severely mitigate) the...
At the moment jackson allocates a new pool every time the default pool is asked. I believe it would be more correct to always reuse the shared one also because...
* JsonRecyclerPools.newBoundedPool(int) takes a bounded queue size * JsonRecyclerPools.sharedBoundedPool() takes no value for the bounded queue size - and the GLOBAL instance seems to have a bound of 100 *...
I'm suggesting this just for master branch (Jackson 3). See https://github.com/FasterXML/jackson-dataformat-xml/pull/660/files Both isExpectedNumberIntToken and isExpectedStartArrayToken should be declared to throw StreamConstraintsException or a super class like JacksonException.
If the `StreamReadConstraints` are set to `Integer.MAX_VALUE`, reading a large string results in an infinite loop due to the value of `max` overflowing to a negative value. `while (ptr <...
The output escape table covers just 7-bits, meaning that a raw UTF-8 byte cannot be used to index into the table without a branch test for negative bytes (i.e. bytes...
Continuing our conversation in a now closed issue: https://github.com/FasterXML/jackson-databind/pull/4448#discussion_r1538298638 I believe I can set up a workflow that reorders imports on new PRs. There are still some kinks to be...
Fixes various typos (mostly of `can not` -> `cannot` kind). Rationale is given in https://writingexplained.org/cannot-or-can-not-difference
(note: this is a placeholder for reported but not verified performance concern) Looks like implementation of `JsonPointer.head()` could be problematic for deeply nested pointer instances: and while this is unlikely...