Removed references to JsonObject from transition classes com.cedarsoftware.util.io.JsonReader.
4.19.10
Updated transition class com.cedarsoftware.util.io.JsonReader. This API is for temporary transition to JsonIo class static APIs.
Added transition class com.cedarsoftware.util.io.JsonWriter. This API is for temporary transition to JsonIo class static APIs.
The entire packaging of JsonIo has been moved from com.cedarsoftware.util.io to com.cedarsoftware.io, except for the transition APIs.
Added the ability to put custom options (key/value pairs) on WriteOptions and ReadOptions.
4.19.9
NOTE: Repackaged resources into config/resources
4.19.8
NOTE: Repackaged com.cedarsoftware.util.io to com.cedarsoftware.io
NOTE: Repackaged com.cedarsoftware.util.reflect to com.cedarsoftware.io.reflect
You will need to adjust the import statements for any consuming classes.
4.19.7
Handle NoSuchMethodError() quietly, for shaded accessFactories that were added by containing platform, that no logner exist.
4.19.6
Added additional build properties to manifest.mf
Renamed method on AccessorFactory that changed signature, due to conflicts running inside container that also uses this library.
4.19.5
Updated JsonReader for backwards compatibility by adding jsonToJava(), jsonToMaps(), jsonObjectsToJava() static APIs.
4.19.4
In ReadOptionsBuilder and WriteOptionsBuilder, when loading dynamic items (class names, aliases, etc.) from resources, output warnings as opposed to throwing exceptions.
4.19.3
Remove ReflectionUtils from json-io as it is part of java-util.
Moved more settings/properties from source code to resource files.
Example changes required due to this update:
Before
A. Employee e = (Employee) JsonReader.jsonObjectsToJava(JsonObject employee, readOptions)
After
A. Employee e = JsonIo.toObjects(JsonObject, readOptions, Employee.class)
4.19.1
The old Map options method has been superceded by passing instead a WriteOptions or ReadOptions instance.
All the prior features are still supported, plus new features have been added. Use the methods on
Write/ReadOptions to set them. The ReadOptions currently use a ReadOptionsBuilder() to construct the ReadOptions.
This will change in the 5.x branch to match the WriteOptions, where it is the builder/options.
Example changes required due to this update:
Before
// Using [key: value] to indicate a Map
A. String json = JsonWriter.objectToJson(srcObj, [JsonWriter.TYPE: false])
B. JsonWriter.objectToJson(srcObj)
C. String json = JsonWriter.toJson(srcObj, null)
D. String json = JsonWriter.formatJson(json)
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.cedarsoftware:json-io from 4.14.2 to 4.19.11.
Changelog
Sourced from com.cedarsoftware:json-io's changelog.
... (truncated)
Commits
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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show