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 133273d5 Merge pull request #84 from dblevins/improved-exception-message add 01c1eeb8 JOHNZON-367 Show a chunk of json when mapping the object fails add 2a8d3f21 JOHNZON-367 Snippet accepts a JsonGeneratorFactory and is reusable add 6589e679 JOHNZON-367 Allow Snippet size to be configurable (via @rmannibucau) All code written by Romain Manni-Bucau add 90519216 JOHNZON-367 Tests that johnzon.snippetMaxLength works as expected add 391025cc JOHNZON-367 Fix Snippet buffering issues and expand tests add 4f24814d JOHNZON-367 Allow true, false and null json constants to be trimmed Not my preference, but implementing in the hope of compromise add 4dd7763c 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 add 2ab67a96 rebase add dbe6a0d9 rename Buffered to IODescriptor add ab20eea0 fix the johnzon-core dependency in mapper/jsonb module + use BoundedOutputStreamWriter in Snippet new cc3a5119 ensure johnzon-core is not used in mapper/jsonb + minor fixed on Snippet buffering The 1 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 | 2 +- .../johnzon/core/JsonGeneratorFactoryImpl.java | 42 +++--- .../main/java/org/apache/johnzon/core/Snippet.java | 163 ++++++++++++--------- .../main/java/org/apache/johnzon/core/Types.java | 15 -- .../java/org/apache/johnzon/core/SnippetTest.java | 2 +- .../org/apache/johnzon/jsonb/JohnzonBuilder.java | 18 +-- .../org/apache/johnzon/jsonb/JsonbAccessMode.java | 2 +- .../org/apache/johnzon/jsonb/reflect}/Types.java | 43 ++---- .../org/apache/johnzon/mapper/JohnzonCores.java | 32 +++- .../johnzon/mapper/JohnzonVirtualObject.java | 3 - .../org/apache/johnzon/mapper/MapperBuilder.java | 5 +- .../org/apache/johnzon/mapper/MapperConfig.java | 15 +- .../mapper/{Cleanable.java => SnippetFactory.java} | 6 +- .../mapper/internal/JsonPointerTracker.java | 55 ++++--- 14 files changed, 209 insertions(+), 194 deletions(-) copy {johnzon-core/src/main/java/org/apache/johnzon/core => johnzon-jsonb/src/main/java/org/apache/johnzon/jsonb/reflect}/Types.java (74%) copy johnzon-mapper/src/main/java/org/apache/johnzon/mapper/{Cleanable.java => SnippetFactory.java} (89%)