cf-butler
cf-butler copied to clipboard
Bump com.cedarsoftware:json-io from 4.19.1 to 4.26.0
Bumps com.cedarsoftware:json-io from 4.19.1 to 4.26.0.
Changelog
Sourced from com.cedarsoftware:json-io's changelog.
4.26.0
- Performance improvement for
JsonIo: When usingnullfor defaultReadOptionsorWriteOptions,the same static instance is used as theReadOptionsandWriteOptionsare immutable.- Updated java-util from
2.10.0to2.13.0.4.25.0
JsonParsernow uses an instance-based cache for common values, not a static one. This will allow for more speed during concurrent parsing.- Within
aliases.txt,java.time.zone.ZoneRules = ZoneRulesis now correctly specified (it hadjava.time.ZoneRulesbefore).- When
nullpassed in forReadOptionsorWriteOptionstoJsonIoAPIs, an already created default instance ofReadOptionsorWriteOptionsis returned to improve performance (no need to reconstruct the default instance).- Updated java-util from
2.9.0to2.10.0.4.24.0
- All aliases have been moved to aliases.txt in the resources folder. It is a very complete list of class names to alias names. If you want less aliases (or more) substituted on writing JSON, use the
addPermanentAlias()APIs onReadOptionsBuilderandWriteOptionsBuilder.If you do not want a particular alias output, useWriteOptionsBuilder.removeAliasedClassName(wildcardPattern). The API is available for all Read/WriteOptions, the "permanent" APIs on the builder, or for a specific Read/WriteOptions instance.- The "extendedAliases" option has been removed from Read/Write options builders. By default, as many aliases are enabled as possible, and you can use the removeAliasXXX APIs to reduce them, or place your own version of aliases.txt in the classpath ahead of the one in
json-io.jar.WriterContext.getObjsReferenced()added, which has all objects id toObjectto allow custom writers to write@id, @refif desired.4.23.0
Collections.unmodifiableXXX()instances when serialized, restore back to unmodifiable instances.ImmutableListandImmutableSetrestore back unmodifiable instances.ReadOptionsBuildernow include all extended aliases by default (.withExtendedAliases()). You can take advantage of this on the sending side by using theWriteOptionsBuilder().withExtendAliases().We will default this on theWriteOptionsBuilderin the future as the new default makes it "out there." Remember: You can read them even if they are not sent, but you can't write them if the reader is not ready for them.4.22.0
- Many more
@typealiases added to keep the JSON succinct and more human-readable.- Broader conversion support for rootTypes:
JsonIo.toObjects(..., rootType)Includes all thejava-utilsConverter.convert()pairings (680+)- Removed
stackargument from CustomReader. When creating a CustomReader, use the passed inresolver.push(node)to push objects onto the stack for later processing (custom or not). See example in UserGuide (coming shortly).4.21.0
- Empty Lists, Sets, and Maps enforce 'emptiness' on reconstruction
- Singleton Lists, Sets, and Maps enforce 'singleton-ness' on reconstruction
- Synchronized Lists, Sets, and Maps enforce 'synchronized-ness' on reconstruction
- Fixed NPE on null writeOptions for
JsonIo.toJson().ThewriteOptionsare now created with defaults for you if null is passed in.- Added
Resolveras the last argument to theJsonClassReader.read()method. The author is not required to use theResolverin their implementation, but it does it come in handy as it has the Map of IDs to JsonObjects, as well as theReadOptions,and theConverter.- Deprecated the APIs on
JsonIothat exist to show one how to convert the old styleMapoptions to the new "builder" format.4.20.0
MethodFiltercan be applied to remove the use of a method accessor, useful when the method accessor is causing problems (additional unwanted side-effects) during the serialization (outputting of JSON).MethodFilter'sare added toWriteOptionsvia theWriteOptionsBuilder.MethodFilter'scan be added to a singleWriteOptionsinstance or added permanently (jvm lifecyle) so that all createdWriteOptionsinclude it automatically (seeWriteOptionsBuilder.addPermanent*APIs).- Significant updates made to User Guide documentation.
- pom.xml file updated to support both OSGi Bundle and JPMS (Modules).
- module-info.class resides in the root of the .jar but it is not referenced.
Commits
1d53a20updated javadocs, readme, changelog.mda58d423JsonParser - uses cache per thread - no contention.ce76d1cUpdated to use java-util 2.11.031c880b*JsonParsernow uses an instance-based cache for common values, not a stat...9adaeda*JsonParsernow uses an instance-based cache for common values, not a stat...73a4315removed member variable in favor of local varf88e201updated version info192dd10- Added access to objReferenced to WriterContext so that custom writers can l...11769feExtended aliases removed from source. Still need to updatebf76830minor doc update- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)