Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Bumps com.cedarsoftware:json-io from 4.70.0 to 4.80.0.

Changelog

Sourced from com.cedarsoftware:json-io's changelog.

4.80.0

  • FEATURE: JSON5 Support - Parser now accepts JSON5 extensions by default
    • Added ReadOptionsBuilder.strictJson() for RFC 8259 compliance mode
    • Default is permissive mode (accepts JSON5 features)
    • When strictJson() is enabled, JSON5 extensions cause parse errors
    • Unquoted object keys: Object keys can now be valid ECMAScript identifiers without quotes
      • Keys must start with a-z, A-Z, underscore (_), or dollar sign ($)
      • Subsequent characters can include digits (0-9)
      • Examples: {name:"John"}, {_private:1}, {$jquery:"lib"}
    • Comments: Both single-line and block comments are now supported
      • Single-line comments: // comment until end of line
      • Block comments: /* comment */ (can span multiple lines)
      • Comments can appear anywhere whitespace is allowed
    • Trailing commas: Objects and arrays can now have a trailing comma
      • Objects: {"a": 1, "b": 2,} is valid
      • Arrays: [1, 2, 3,] is valid
      • Nested structures with trailing commas: {"arr": [1, 2,], "name": "test",}
    • Single-quoted strings: Strings can use single quotes instead of double quotes
      • Values: {"name": 'John'} is valid
      • Keys: {'name': "John"} is valid
      • Single quotes can contain unescaped double quotes: {'text': 'He said "Hello"'}
      • Escape single quotes with backslash: {'text': 'It\'s working'}
    • Hexadecimal numbers: Integer literals can be specified in hexadecimal
      • Lowercase: {"value": 0xff} equals 255
      • Uppercase: {"value": 0xFF} equals 255
      • Negative hex: {"value": -0xFF} equals -255
      • Up to 16 hex digits supported (full 64-bit range)
    • Special number formats: JSON5 number format extensions
      • Leading decimal point: {"value": .5} equals 0.5
      • Trailing decimal point: {"value": 5.} equals 5.0
      • Explicit positive sign: {"value": +5} equals 5
      • Combinations supported: +.5 (0.5), -.5 (-0.5), +5. (5.0)
      • Works with exponents: .5e2 (50.0), 5.e2 (500.0), +1e5 (100000.0)
    • Multi-line strings: Strings can span multiple lines using backslash continuation
      • Backslash followed by LF (\↵) removes both characters
      • Backslash followed by CR (\␍) removes both characters
      • Backslash followed by CRLF (\␍↵) removes all three characters
      • Leading whitespace on continuation lines is preserved
      • Example: "hello \↵world" becomes "hello world"
  • FEATURE: JSON5 Write Support - WriteOptionsBuilder now supports JSON5 output options
    • Added json5() umbrella method to enable recommended JSON5 writing features
    • Added json5UnquotedKeys(true) to write object keys without quotes when valid identifiers
      • Keys must be valid ECMAScript identifiers (start with letter//$, contain letters/digits//$)
      • Keys with special characters, spaces, or starting with digits are still quoted
      • Example: {name:"John", "key-with-dash":"value"}
    • Added json5SmartQuotes(true) for adaptive quote selection on string values
      • Uses single quotes if string contains " but no ' (cleaner output for strings with embedded quotes)
      • Uses double quotes otherwise (standard behavior)
      • Example: {message:'He said "Hello"'} instead of {message:"He said \"Hello\""}
    • Added json5InfinityNaN(true) to write Infinity/NaN as literals instead of null

... (truncated)

Commits
  • 62d18d5 update jar size
  • 92401be Update deprecated API calls and fix typo
  • 029e27a Merge branch 'master' of https://github.com/jdereg/json-io
  • 37d06fd Merge pull request #428 from Shiyang-Zhao/fix-nondeterminism
  • 996953e Merge pull request #427 from Shiyang-Zhao/fix-nondeterminism-in-WriteOptionsTest
  • 90341c5 Unify toJava() to eliminate handleArray() and handleObject()
  • 16e8a05 Fix type conversion edge cases in unified convertToType()
  • 1bff735 Simplify Resolver architecture: centralize patch/rehash in cleanup()
  • a59d6ac Fix missed toJava() call site and remove redundant variable
  • a46a56d Rename vestigial "Root" methods to simpler names
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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](https://github.com/jdereg/json-io) from 4.70.0 to 4.80.0.
- [Changelog](https://github.com/jdereg/json-io/blob/master/changelog.md)
- [Commits](jdereg/json-io@4.70.0...4.80.0)

---
updated-dependencies:
- dependency-name: com.cedarsoftware:json-io
  dependency-version: 4.80.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jan 5, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 13, 2026

Superseded by #331.

@dependabot dependabot bot closed this Jan 13, 2026
@dependabot dependabot bot deleted the dependabot/gradle/com.cedarsoftware-json-io-4.80.0 branch January 13, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant