-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from cmhulbert/serializeNulls
* fix: don't enforce `serializeNulls`, but DO still ensure `null` is still serialized regardless of `serializeNulls` for Raw compression * fix: don't require gsonBuilder to `serializeNull` - added a serializer for ZArrayAttributes - writeZArray via ZArrayAttributes object, not JsonElement - expected compression can be `JsonNull` OR `null` depending on whether `serializeNull` or not test: `serializeNulls` not set by default, so no `null` value here, therefore it doesn't parse as `JsonNull` but instead just returns `null` * fix(test): don't ignore input GsonBuilder * fix(test): serializeNulls for consistency between Cached and non-cache versions This is because when reading from the container with no cache, you get `null` but when writing/reading with the cache, the value is `JsonNull`.
- Loading branch information
Showing
5 changed files
with
53 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters