You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by rm...@apache.org on 2022/04/28 08:05:10 UTC

[johnzon] branch master updated (6571c776 -> 133273d5)

This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git


    from 6571c776 [JOHNZON-369] adding org.apache.johnzon.boundedoutputstreamwriter support
     new 18d94b8b JOHNZON-367 Show a chunk of json when mapping the object fails
     new 39249323 JOHNZON-367 Snippet accepts a JsonGeneratorFactory and is reusable
     new 2ac98b78 JOHNZON-367 Allow Snippet size to be configurable (via @rmannibucau) All code written by Romain Manni-Bucau
     new 04196910 JOHNZON-367 Tests that johnzon.snippetMaxLength works as expected
     new 77936bb9 JOHNZON-367 Fix Snippet buffering issues and expand tests
     new fb227bdd JOHNZON-367 Allow true, false and null json constants to be trimmed Not my preference, but implementing in the hope of compromise
     new ddd0f241 JOHNZON-367 Reduce calls to flush() to the bare minimum Call flush only before snippet.terminate() and snippet.get() Reduce calls to snippet.terminate() to only what is needed
     new bc8b05e1 JOHNZON-367 Optimize buffering when new Buffered interface is supported
     new 076c610c Merge branch 'master' of github.com:apache/johnzon into improved-exception-message
     new d5d0fc79 JOHNZON-367 Incorporate PR feedback
     new 133273d5 Merge pull request #84 from dblevins/improved-exception-message

The 877 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../java/org/apache/johnzon/core/Buffered.java     |  36 ++
 .../johnzon/core/JsonGeneratorFactoryImpl.java     |  40 +-
 .../main/java/org/apache/johnzon/core/Snippet.java | 422 +++++++++++++++++
 .../java/org/apache/johnzon/core/SnippetTest.java  | 517 +++++++++++++++++++++
 .../johnzon/jaxrs/ConfigurableJohnzonProvider.java |   4 +
 .../jaxrs/WildcardConfigurableJohnzonProvider.java |   4 +
 .../org/apache/johnzon/jsonb/JohnzonBuilder.java   |   6 +
 .../apache/johnzon/jsonb/SnippetMaxLengthTest.java | 103 ++++
 .../org/apache/johnzon/mapper/MapperBuilder.java   |  10 +-
 .../org/apache/johnzon/mapper/MapperConfig.java    |  47 +-
 .../apache/johnzon/mapper/MappingParserImpl.java   |   4 +-
 11 files changed, 1183 insertions(+), 10 deletions(-)
 create mode 100644 johnzon-core/src/main/java/org/apache/johnzon/core/Buffered.java
 create mode 100644 johnzon-core/src/main/java/org/apache/johnzon/core/Snippet.java
 create mode 100644 johnzon-core/src/test/java/org/apache/johnzon/core/SnippetTest.java
 create mode 100644 johnzon-jsonb/src/test/java/org/apache/johnzon/jsonb/SnippetMaxLengthTest.java