Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: netplex/json-smart-v2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.5.1
Choose a base ref
...
head repository: netplex/json-smart-v2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.5.2
Choose a head ref

Commits on Mar 29, 2024

  1. add FUNDING.yml

    UrielCh committed Mar 29, 2024
    Copy the full SHA
    ac2afa6 View commit details

Commits on May 1, 2024

  1. 1
    Copy the full SHA
    886de2a View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    99239bb View commit details
  3. Copy the full SHA
    a29eca9 View commit details
  4. Copy the full SHA
    2586b56 View commit details
  5. Copy the full SHA
    af7545e View commit details
  6. Copy the full SHA
    6d1d8b0 View commit details

Commits on May 13, 2024

  1. Copy the full SHA
    9eda0a1 View commit details
  2. Copy the full SHA
    4b1a6b5 View commit details

Commits on Jun 1, 2024

  1. Copy the full SHA
    c8b0eec View commit details
  2. Copy the full SHA
    069ddab View commit details

Commits on Jul 1, 2024

  1. Copy the full SHA
    f7e3266 View commit details
  2. Copy the full SHA
    b2a3186 View commit details
  3. Copy the full SHA
    a19dedd View commit details
  4. Copy the full SHA
    133633b View commit details
  5. Copy the full SHA
    b77df62 View commit details
  6. Copy the full SHA
    5dc0081 View commit details

Commits on Aug 1, 2024

  1. Bump org.apache.maven.plugins:maven-release-plugin in /json-smart (#205)

    Bumps [org.apache.maven.plugins:maven-release-plugin](https://github.com/apache/maven-release) from 3.1.0 to 3.1.1.
    - [Release notes](https://github.com/apache/maven-release/releases)
    - [Commits](apache/maven-release@maven-release-3.1.0...maven-release-3.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-release-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    581ff72 View commit details
  2. Bump org.apache.maven.plugins:maven-javadoc-plugin in /json-smart (#206)

    Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.7.0 to 3.8.0.
    - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
    - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.7.0...maven-javadoc-plugin-3.8.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    cf65686 View commit details
  3. Bump org.apache.maven.plugins:maven-javadoc-plugin in /json-smart-act…

    …ion (#207)
    
    Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.7.0 to 3.8.0.
    - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
    - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.7.0...maven-javadoc-plugin-3.8.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    7d6587f View commit details
  4. Bump org.apache.maven.plugins:maven-release-plugin in /json-smart-act…

    …ion (#208)
    
    Bumps [org.apache.maven.plugins:maven-release-plugin](https://github.com/apache/maven-release) from 3.1.0 to 3.1.1.
    - [Release notes](https://github.com/apache/maven-release/releases)
    - [Commits](apache/maven-release@maven-release-3.1.0...maven-release-3.1.1)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-release-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2024
    Copy the full SHA
    ae7d4cd View commit details

Commits on Sep 1, 2024

  1. Bump org.apache.maven.plugins:maven-javadoc-plugin in /json-smart (#214)

    Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.8.0 to 3.10.0.
    - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
    - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.8.0...maven-javadoc-plugin-3.10.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2024
    Copy the full SHA
    77d442c View commit details
  2. Bump junit.version from 5.10.3 to 5.11.0 in /json-smart (#213)

    Bumps `junit.version` from 5.10.3 to 5.11.0.
    
    Updates `org.junit.jupiter:junit-jupiter-api` from 5.10.3 to 5.11.0
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.10.3...r5.11.0)
    
    Updates `org.junit.jupiter:junit-jupiter-params` from 5.10.3 to 5.11.0
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.10.3...r5.11.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter-api
      dependency-type: direct:development
      update-type: version-update:semver-minor
    - dependency-name: org.junit.jupiter:junit-jupiter-params
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2024
    Copy the full SHA
    f597e8b View commit details
  3. Bump org.apache.maven.plugins:maven-gpg-plugin in /json-smart (#212)

    Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.2.4 to 3.2.5.
    - [Release notes](https://github.com/apache/maven-gpg-plugin/releases)
    - [Commits](apache/maven-gpg-plugin@maven-gpg-plugin-3.2.4...maven-gpg-plugin-3.2.5)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-gpg-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2024
    Copy the full SHA
    350abf7 View commit details
  4. Bump org.apache.maven.plugins:maven-javadoc-plugin in /json-smart-act…

    …ion (#211)
    
    Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.8.0 to 3.10.0.
    - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
    - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.8.0...maven-javadoc-plugin-3.10.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2024
    Copy the full SHA
    870e0b7 View commit details
  5. Bump junit.version from 5.10.3 to 5.11.0 in /json-smart-action (#210)

    Bumps `junit.version` from 5.10.3 to 5.11.0.
    
    Updates `org.junit.jupiter:junit-jupiter-api` from 5.10.3 to 5.11.0
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.10.3...r5.11.0)
    
    Updates `org.junit.jupiter:junit-jupiter-params` from 5.10.3 to 5.11.0
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.10.3...r5.11.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter-api
      dependency-type: direct:development
      update-type: version-update:semver-minor
    - dependency-name: org.junit.jupiter:junit-jupiter-params
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2024
    Copy the full SHA
    ef9b8dd View commit details
  6. Bump org.apache.maven.plugins:maven-gpg-plugin in /json-smart-action (#…

    …209)
    
    Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.2.4 to 3.2.5.
    - [Release notes](https://github.com/apache/maven-gpg-plugin/releases)
    - [Commits](apache/maven-gpg-plugin@maven-gpg-plugin-3.2.4...maven-gpg-plugin-3.2.5)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-gpg-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 1, 2024
    Copy the full SHA
    e88db65 View commit details

Commits on Oct 1, 2024

  1. Bump junit.version from 5.11.0 to 5.11.1 in /json-smart-action (#219)

    Bumps `junit.version` from 5.11.0 to 5.11.1.
    
    Updates `org.junit.jupiter:junit-jupiter-api` from 5.11.0 to 5.11.1
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.0...r5.11.1)
    
    Updates `org.junit.jupiter:junit-jupiter-params` from 5.11.0 to 5.11.1
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.0...r5.11.1)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter-api
      dependency-type: direct:development
      update-type: version-update:semver-patch
    - dependency-name: org.junit.jupiter:junit-jupiter-params
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 1, 2024
    Copy the full SHA
    c31808c View commit details
  2. Bump junit.version from 5.11.0 to 5.11.1 in /json-smart (#216)

    Bumps `junit.version` from 5.11.0 to 5.11.1.
    
    Updates `org.junit.jupiter:junit-jupiter-api` from 5.11.0 to 5.11.1
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.0...r5.11.1)
    
    Updates `org.junit.jupiter:junit-jupiter-params` from 5.11.0 to 5.11.1
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.0...r5.11.1)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter-api
      dependency-type: direct:development
      update-type: version-update:semver-patch
    - dependency-name: org.junit.jupiter:junit-jupiter-params
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 1, 2024
    Copy the full SHA
    dd8802e View commit details
  3. Bump org.apache.maven.plugins:maven-gpg-plugin in /json-smart-action (#…

    …218)
    
    Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.2.5 to 3.2.7.
    - [Release notes](https://github.com/apache/maven-gpg-plugin/releases)
    - [Commits](apache/maven-gpg-plugin@maven-gpg-plugin-3.2.5...maven-gpg-plugin-3.2.7)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-gpg-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 1, 2024
    Copy the full SHA
    4ff0acb View commit details
  4. Bump org.apache.maven.plugins:maven-gpg-plugin in /json-smart (#217)

    Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.2.5 to 3.2.7.
    - [Release notes](https://github.com/apache/maven-gpg-plugin/releases)
    - [Commits](apache/maven-gpg-plugin@maven-gpg-plugin-3.2.5...maven-gpg-plugin-3.2.7)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-gpg-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 1, 2024
    Copy the full SHA
    0ca9538 View commit details

Commits on Oct 7, 2024

  1. update version and dates. (#220)

    - add links to mvnrepository.com in all poms.
    - update depencency versions.
    - update copyright years.
    UrielCh authored Oct 7, 2024
    Copy the full SHA
    833c5bd View commit details

Commits on Nov 1, 2024

  1. Bump junit.version from 5.11.2 to 5.11.3 in /json-smart (#222)

    Bumps `junit.version` from 5.11.2 to 5.11.3.
    
    Updates `org.junit.jupiter:junit-jupiter-api` from 5.11.2 to 5.11.3
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.2...r5.11.3)
    
    Updates `org.junit.jupiter:junit-jupiter-params` from 5.11.2 to 5.11.3
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.2...r5.11.3)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter-api
      dependency-type: direct:development
      update-type: version-update:semver-patch
    - dependency-name: org.junit.jupiter:junit-jupiter-params
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 1, 2024
    Copy the full SHA
    684928f View commit details
  2. Bump junit.version from 5.11.2 to 5.11.3 in /json-smart-action (#221)

    Bumps `junit.version` from 5.11.2 to 5.11.3.
    
    Updates `org.junit.jupiter:junit-jupiter-api` from 5.11.2 to 5.11.3
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.2...r5.11.3)
    
    Updates `org.junit.jupiter:junit-jupiter-params` from 5.11.2 to 5.11.3
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.2...r5.11.3)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter-api
      dependency-type: direct:development
      update-type: version-update:semver-patch
    - dependency-name: org.junit.jupiter:junit-jupiter-params
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 1, 2024
    Copy the full SHA
    b368fa1 View commit details

Commits on Dec 1, 2024

  1. Bump org.apache.maven.plugins:maven-javadoc-plugin in /json-smart (#226)

    Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.10.1 to 3.11.1.
    - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
    - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.10.1...maven-javadoc-plugin-3.11.1)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 1, 2024
    Copy the full SHA
    3d5a8dc View commit details
  2. Bump org.apache.maven.plugins:maven-javadoc-plugin in /json-smart-act…

    …ion (#224)
    
    Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.10.1 to 3.11.1.
    - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
    - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.10.1...maven-javadoc-plugin-3.11.1)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 1, 2024
    Copy the full SHA
    7f01adf View commit details

Commits on Jan 1, 2025

  1. Bump junit.version from 5.11.3 to 5.11.4 in /json-smart

    Bumps `junit.version` from 5.11.3 to 5.11.4.
    
    Updates `org.junit.jupiter:junit-jupiter-api` from 5.11.3 to 5.11.4
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.3...r5.11.4)
    
    Updates `org.junit.jupiter:junit-jupiter-params` from 5.11.3 to 5.11.4
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.3...r5.11.4)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter-api
      dependency-type: direct:development
      update-type: version-update:semver-patch
    - dependency-name: org.junit.jupiter:junit-jupiter-params
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 1, 2025
    Copy the full SHA
    f3ae96d View commit details
  2. Bump org.apache.maven.plugins:maven-javadoc-plugin in /json-smart

    Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.11.1 to 3.11.2.
    - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
    - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.11.1...maven-javadoc-plugin-3.11.2)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 1, 2025
    Copy the full SHA
    5ca7e4b View commit details
  3. Bump junit.version from 5.11.3 to 5.11.4 in /json-smart-action

    Bumps `junit.version` from 5.11.3 to 5.11.4.
    
    Updates `org.junit.jupiter:junit-jupiter-api` from 5.11.3 to 5.11.4
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.3...r5.11.4)
    
    Updates `org.junit.jupiter:junit-jupiter-params` from 5.11.3 to 5.11.4
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit5@r5.11.3...r5.11.4)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter-api
      dependency-type: direct:development
      update-type: version-update:semver-patch
    - dependency-name: org.junit.jupiter:junit-jupiter-params
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 1, 2025
    Copy the full SHA
    35b0198 View commit details
  4. Bump org.apache.maven.plugins:maven-javadoc-plugin in /json-smart-action

    Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.11.1 to 3.11.2.
    - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
    - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.11.1...maven-javadoc-plugin-3.11.2)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jan 1, 2025
    Copy the full SHA
    7239384 View commit details

Commits on Feb 8, 2025

  1. 2
    Copy the full SHA
    c21d854 View commit details
  2. Merge pull request #231 from netplex/dependabot/maven/json-smart-acti…

    …on/org.apache.maven.plugins-maven-javadoc-plugin-3.11.2
    
    Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.1 to 3.11.2 in /json-smart-action
    UrielCh authored Feb 8, 2025
    Copy the full SHA
    224943a View commit details
  3. Merge pull request #229 from netplex/dependabot/maven/json-smart/org.…

    …apache.maven.plugins-maven-javadoc-plugin-3.11.2
    
    Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.1 to 3.11.2 in /json-smart
    UrielCh authored Feb 8, 2025
    Copy the full SHA
    f2be4c1 View commit details
  4. Merge pull request #230 from netplex/dependabot/maven/json-smart-acti…

    …on/junit.version-5.11.4
    
    Bump junit.version from 5.11.3 to 5.11.4 in /json-smart-action
    UrielCh authored Feb 8, 2025
    Copy the full SHA
    19a787e View commit details
  5. Merge pull request #228 from netplex/dependabot/maven/json-smart/juni…

    …t.version-5.11.4
    
    Bump junit.version from 5.11.3 to 5.11.4 in /json-smart
    UrielCh authored Feb 8, 2025
    Copy the full SHA
    d1f4645 View commit details
  6. Merge pull request #233 from ccudennec-otto/fix-CVE-2024-57699

    fix CVE-2024-57699 for predefined parsers
    UrielCh authored Feb 8, 2025
    Copy the full SHA
    852caf6 View commit details
  7. bump to version 2.5.2.

    UrielCh committed Feb 8, 2025
    Copy the full SHA
    7ecb1d3 View commit details

Commits on Feb 9, 2025

  1. update maintainer github id and email (#234)

    Signed-off-by: Zhangjian He <hezhangjian97@gmail.com>
    hezhangjian authored Feb 9, 2025
    Copy the full SHA
    55fa105 View commit details

Commits on Feb 10, 2025

  1. Copy the full SHA
    9ca093d View commit details

Commits on Feb 12, 2025

  1. Copy the full SHA
    d4f7fa4 View commit details
Showing with 176 additions and 89 deletions.
  1. +1 −0 .github/FUNDING.yml
  2. +1 −0 .gitignore
  3. +5 −1 README.md
  4. +28 −19 accessors-smart/pom.xml
  5. +1 −1 accessors-smart/src/main/java/net/minidev/asm/ASMUtil.java
  6. +1 −1 accessors-smart/src/main/java/net/minidev/asm/Accessor.java
  7. +1 −1 accessors-smart/src/main/java/net/minidev/asm/BeansAccess.java
  8. +1 −1 accessors-smart/src/main/java/net/minidev/asm/DynamicClassLoader.java
  9. +23 −16 json-smart-action/pom.xml
  10. +26 −17 json-smart/pom.xml
  11. +1 −1 json-smart/src/main/java/net/minidev/json/JSONArray.java
  12. +1 −1 json-smart/src/main/java/net/minidev/json/JSONAware.java
  13. +1 −1 json-smart/src/main/java/net/minidev/json/JSONAwareEx.java
  14. +1 −1 json-smart/src/main/java/net/minidev/json/JSONNavi.java
  15. +1 −1 json-smart/src/main/java/net/minidev/json/JSONObject.java
  16. +1 −1 json-smart/src/main/java/net/minidev/json/JSONStreamAware.java
  17. +1 −1 json-smart/src/main/java/net/minidev/json/JSONStreamAwareEx.java
  18. +1 −1 json-smart/src/main/java/net/minidev/json/JSONStyle.java
  19. +1 −1 json-smart/src/main/java/net/minidev/json/JSONUtil.java
  20. +1 −1 json-smart/src/main/java/net/minidev/json/JSONValue.java
  21. +1 −1 json-smart/src/main/java/net/minidev/json/JStylerObj.java
  22. +4 −4 json-smart/src/main/java/net/minidev/json/parser/JSONParser.java
  23. +1 −1 json-smart/src/main/java/net/minidev/json/parser/JSONParserBase.java
  24. +1 −1 json-smart/src/main/java/net/minidev/json/parser/JSONParserByteArray.java
  25. +1 −1 json-smart/src/main/java/net/minidev/json/parser/JSONParserInputStream.java
  26. +1 −1 json-smart/src/main/java/net/minidev/json/parser/JSONParserMemory.java
  27. +1 −1 json-smart/src/main/java/net/minidev/json/parser/JSONParserReader.java
  28. +1 −1 json-smart/src/main/java/net/minidev/json/parser/JSONParserStream.java
  29. +1 −1 json-smart/src/main/java/net/minidev/json/parser/JSONParserString.java
  30. +1 −1 json-smart/src/main/java/net/minidev/json/parser/ParseException.java
  31. +1 −1 json-smart/src/main/java/net/minidev/json/writer/ArraysMapper.java
  32. +1 −1 json-smart/src/main/java/net/minidev/json/writer/BeansMapper.java
  33. +1 −1 json-smart/src/main/java/net/minidev/json/writer/CollectionMapper.java
  34. +1 −1 json-smart/src/main/java/net/minidev/json/writer/CompessorMapper.java
  35. +1 −1 json-smart/src/main/java/net/minidev/json/writer/DefaultMapperCollection.java
  36. +1 −1 json-smart/src/main/java/net/minidev/json/writer/DefaultMapperOrdered.java
  37. +1 −1 json-smart/src/main/java/net/minidev/json/writer/FakeMapper.java
  38. +1 −1 json-smart/src/main/java/net/minidev/json/writer/JsonReader.java
  39. +1 −1 json-smart/src/main/java/net/minidev/json/writer/JsonReaderI.java
  40. +56 −0 json-smart/src/test/java/net/minidev/json/test/TestCVE202457699.java
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: urielch
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -8,3 +8,4 @@
**/*.iml
**/bin
**/target
**/.vscode/
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -19,6 +19,10 @@ So I do not use my json-smart anymore. I had fun with this project. If you want

# Changelog

### *V 2.5.2* (next version)

* Fix CVE-2024-57699 for predefined parsers. [PR 233](https://github.com/netplex/json-smart-v2/pull/233)

### *V 2.5.1* (2024-03-14)

* Bump all dependencies.
@@ -122,4 +126,4 @@ So I do not use my json-smart anymore. I had fun with this project. If you want

### *V 2.0-RC1* (2012-02-18)
* speed improvement in POJO manipulation
* add JSONStyle.LT_COMPRESS predefined generate strct json, but ignoring / escapement.
* add JSONStyle.LT_COMPRESS predefined generate strct json, but ignoring / escapement.
47 changes: 28 additions & 19 deletions accessors-smart/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2011-2023 JSON-SMART authors
Copyright 2011-2024 JSON-SMART authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ limitations under the License.
<modelVersion>4.0.0</modelVersion>
<groupId>net.minidev</groupId>
<artifactId>accessors-smart</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
<name>ASM based accessors helper used by json-smart</name>
<description>Java reflect give poor performance on getter setter an constructor calls, accessors-smart use ASM to speed up those calls.</description>
<packaging>bundle</packaging>
@@ -31,12 +31,12 @@ limitations under the License.
<id>uriel</id>
<name>Uriel Chemouni</name>
<email>uchemouni@gmail.com</email>
<timezone>GMT+3</timezone>
<timezone>GMT+1</timezone>
</developer>
<developer>
<id>shoothzj</id>
<name>ZhangJian He</name>
<email>shoothzj@gmail.com</email>
<id>hezhangjian</id>
<name>Zhangjian He</name>
<email>hezhangjian97gmail.com</email>
<timezone>GMT+8</timezone>
</developer>
</developers>
@@ -62,11 +62,11 @@ limitations under the License.
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<!-- release with: export GPG_TTY=$(tty); mvn clean deploy -P release-sign-artifacts -->
@@ -90,9 +90,10 @@ limitations under the License.
<build>
<plugins>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
@@ -105,9 +106,10 @@ limitations under the License.
</plugin>
<!-- Publish also javadocs when releasing - required by Sonatype -->
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.10.1</version>
<configuration>
<source>8</source>
</configuration>
@@ -125,9 +127,10 @@ limitations under the License.
to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
for instructions on releasing to this project's Sonatype repository -->
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<version>3.1.1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<arguments>-Psonatype-oss-release</arguments>
@@ -159,9 +162,10 @@ limitations under the License.
<build>
<plugins>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<version>3.3.1</version>
<executions>
<execution>
<id>bind-sources</id>
@@ -172,32 +176,36 @@ limitations under the License.
</executions>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.13.0</version>
<configuration>
<encoding>UTF-8</encoding>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<version>3.3.1</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<version>3.4.2</version>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.10.1</version>
<!-- ONLY NEEDED With jdk 1.7+ -->
<configuration>
<source>8</source>
@@ -214,9 +222,10 @@ limitations under the License.
</executions>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.felix/maven-bundle-plugin -->
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.2</version> <!-- 3.0.0 need java 7+ -->
<version>5.1.9</version> <!-- 3.0.0 need java 7+ -->
<extensions>true</extensions>
<configuration>
<instructions>
@@ -239,14 +248,14 @@ limitations under the License.
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.10.0</version>
<version>5.11.2</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.ow2.asm/asm -->
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.6</version>
<version>9.7.1</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion accessors-smart/src/main/java/net/minidev/asm/ASMUtil.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.asm;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.asm;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.asm;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.asm;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
39 changes: 23 additions & 16 deletions json-smart-action/pom.xml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.minidev</groupId>
<artifactId>json-smart-action</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
<name>JSON-smart-action Small and Fast Parser</name>
<description>JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.</description>
<packaging>bundle</packaging>
@@ -16,7 +16,7 @@
<id>uriel</id>
<name>Uriel Chemouni</name>
<email>uchemouni@gmail.com</email>
<timezone>GMT+3</timezone>
<timezone>GMT+1</timezone>
</developer>
<developer>
<id>erav</id>
@@ -25,9 +25,9 @@
<timezone>GMT+2</timezone>
</developer>
<developer>
<id>shoothzj</id>
<name>ZhangJian He</name>
<email>shoothzj@gmail.com</email>
<id>hezhangjian</id>
<name>Zhangjian He</name>
<email>hezhangjian97gmail.com</email>
<timezone>GMT+8</timezone>
</developer>
</developers>
@@ -44,7 +44,7 @@
<project.build.outputTimestamp>10</project.build.outputTimestamp>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<junit.version>5.10.2</junit.version>
<junit.version>5.11.4</junit.version>
</properties>
<scm>
<connection>scm:git:https://github.com/netplex/json-smart-v2.git</connection>
@@ -54,11 +54,11 @@
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<!-- release with: export GPG_TTY=$(tty); mvn clean deploy -P release-sign-artifacts -->
@@ -84,7 +84,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
@@ -97,9 +97,10 @@
</plugin>
<!-- Publish also javadocs when releasing - required by Sonatype -->
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<version>3.11.2</version>
<configuration>
<source>8</source>
</configuration>
@@ -117,9 +118,10 @@
to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
for instructions on releasing to this project's Sonatype repository -->
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<version>3.1.1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<arguments>-Psonatype-oss-release</arguments>
@@ -151,9 +153,10 @@
<build>
<plugins>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<version>3.3.1</version>
<executions>
<execution>
<id>bind-sources</id>
@@ -164,16 +167,18 @@
</executions>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<version>3.13.0</version>
<configuration>
<encoding>UTF-8</encoding>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
@@ -182,14 +187,16 @@
</configuration>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<version>3.4.2</version>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<version>3.11.2</version>
<!-- ONLY NEEDED With jdk 1.7+ -->
<configuration>
<source>8</source>
@@ -245,7 +252,7 @@
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</dependency>
</dependencies>
</project>
43 changes: 26 additions & 17 deletions json-smart/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2011-2023 JSON-SMART authors
Copyright 2011-2024 JSON-SMART authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ limitations under the License.
<modelVersion>4.0.0</modelVersion>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
<name>JSON Small and Fast Parser</name>
<description>JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.</description>
<packaging>bundle</packaging>
@@ -31,7 +31,7 @@ limitations under the License.
<id>uriel</id>
<name>Uriel Chemouni</name>
<email>uchemouni@gmail.com</email>
<timezone>GMT+3</timezone>
<timezone>GMT+1</timezone>
</developer>
<developer>
<id>erav</id>
@@ -40,9 +40,9 @@ limitations under the License.
<timezone>GMT+2</timezone>
</developer>
<developer>
<id>shoothzj</id>
<name>ZhangJian He</name>
<email>shoothzj@gmail.com</email>
<id>hezhangjian</id>
<name>Zhangjian He</name>
<email>hezhangjian97gmail.com</email>
<timezone>GMT+8</timezone>
</developer>
</developers>
@@ -59,7 +59,7 @@ limitations under the License.
<project.build.outputTimestamp>10</project.build.outputTimestamp>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<junit.version>5.10.2</junit.version>
<junit.version>5.11.4</junit.version>
</properties>
<scm>
<connection>scm:git:https://github.com/netplex/json-smart-v2.git</connection>
@@ -69,11 +69,11 @@ limitations under the License.
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<!-- release with: export GPG_TTY=$(tty); mvn clean deploy -P release-sign-artifacts -->
@@ -97,9 +97,10 @@ limitations under the License.
<build>
<plugins>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
@@ -112,9 +113,10 @@ limitations under the License.
</plugin>
<!-- Publish also javadocs when releasing - required by Sonatype -->
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<version>3.11.2</version>
<configuration>
<source>8</source>
</configuration>
@@ -132,9 +134,10 @@ limitations under the License.
to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
for instructions on releasing to this project's Sonatype repository -->
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-release-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<version>3.1.1</version>
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<arguments>-Psonatype-oss-release</arguments>
@@ -166,9 +169,10 @@ limitations under the License.
<build>
<plugins>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<version>3.3.1</version>
<executions>
<execution>
<id>bind-sources</id>
@@ -179,16 +183,18 @@ limitations under the License.
</executions>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<version>3.13.0</version>
<configuration>
<encoding>UTF-8</encoding>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-resources-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
@@ -197,14 +203,16 @@ limitations under the License.
</configuration>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<version>3.4.2</version>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-javadoc-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<version>3.11.2</version>
<!-- ONLY NEEDED With jdk 1.7+ -->
<configuration>
<source>8</source>
@@ -221,6 +229,7 @@ limitations under the License.
</executions>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.felix/maven-bundle-plugin -->
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.9</version>
@@ -264,7 +273,7 @@ limitations under the License.
<dependency>
<groupId>net.minidev</groupId>
<artifactId>accessors-smart</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion json-smart/src/main/java/net/minidev/json/JSONArray.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion json-smart/src/main/java/net/minidev/json/JSONAware.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion json-smart/src/main/java/net/minidev/json/JSONAwareEx.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion json-smart/src/main/java/net/minidev/json/JSONNavi.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion json-smart/src/main/java/net/minidev/json/JSONObject.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion json-smart/src/main/java/net/minidev/json/JSONStyle.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion json-smart/src/main/java/net/minidev/json/JSONUtil.java
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
import net.minidev.json.annotate.JsonIgnore;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion json-smart/src/main/java/net/minidev/json/JSONValue.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion json-smart/src/main/java/net/minidev/json/JStylerObj.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.parser;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -115,21 +115,21 @@ public class JSONParser {
*
* @since 1.0.6
*/
public final static int MODE_RFC4627 = USE_INTEGER_STORAGE | USE_HI_PRECISION_FLOAT | ACCEPT_TAILLING_SPACE;
public final static int MODE_RFC4627 = USE_INTEGER_STORAGE | USE_HI_PRECISION_FLOAT | ACCEPT_TAILLING_SPACE | LIMIT_JSON_DEPTH;
/**
* Parse Object like json-simple
*
* Best for an iso-bug json-simple API port.
*
* @since 1.0.7
*/
public final static int MODE_JSON_SIMPLE = ACCEPT_USELESS_COMMA | USE_HI_PRECISION_FLOAT | ACCEPT_TAILLING_DATA | ACCEPT_TAILLING_SPACE | REJECT_127_CHAR | BIG_DIGIT_UNRESTRICTED;
public final static int MODE_JSON_SIMPLE = ACCEPT_USELESS_COMMA | USE_HI_PRECISION_FLOAT | ACCEPT_TAILLING_DATA | ACCEPT_TAILLING_SPACE | REJECT_127_CHAR | BIG_DIGIT_UNRESTRICTED | LIMIT_JSON_DEPTH;
/**
* Strictest parsing mode
*
* @since 2.0.1
*/
public final static int MODE_STRICTEST = USE_INTEGER_STORAGE | USE_HI_PRECISION_FLOAT | REJECT_127_CHAR;
public final static int MODE_STRICTEST = USE_INTEGER_STORAGE | USE_HI_PRECISION_FLOAT | REJECT_127_CHAR | LIMIT_JSON_DEPTH;
/**
* Default json-smart processing mode
*/
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.parser;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.parser;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.parser;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.parser;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.parser;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.parser;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.parser;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.parser;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.writer;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.writer;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.writer;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.writer;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.writer;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.writer;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@


/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.writer;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.minidev.json.writer;

/*
* Copyright 2011-2023 JSON-SMART authors
* Copyright 2011-2024 JSON-SMART authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
package net.minidev.json.test;

import net.minidev.json.parser.JSONParser;
import net.minidev.json.parser.ParseException;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertThrows;

public class TestCVE202457699 {

private static final String MALICIOUS_STRING = createMaliciousString();

@Test
public void jsonSimpleParserShouldRestrictDepth() {
JSONParser p = new JSONParser(JSONParser.MODE_JSON_SIMPLE);
assertThrows(ParseException.class,
() -> p.parse(MALICIOUS_STRING),
"Malicious payload, having non natural depths");
}

@Test
public void strictestParserShouldRestrictDepth() {
JSONParser p = new JSONParser(JSONParser.MODE_STRICTEST);
assertThrows(ParseException.class,
() -> p.parse(MALICIOUS_STRING),
"Malicious payload, having non natural depths");
}

@Test
public void rfc4627ParserShouldRestrictDepth() {
JSONParser p = new JSONParser(JSONParser.MODE_RFC4627);
assertThrows(ParseException.class,
() -> p.parse(MALICIOUS_STRING),
"Malicious payload, having non natural depths");
}

@Test
public void permissiveParserShouldRestrictDepth() {
JSONParser p = new JSONParser(JSONParser.MODE_PERMISSIVE);
assertThrows(ParseException.class,
() -> p.parse(MALICIOUS_STRING),
"Malicious payload, having non natural depths");
}

private static String createMaliciousString() {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < 10000 ; i++) {
sb.append("{\"a\":");
}
sb.append("1");
for (int i = 0; i < 10000 ; i++) {
sb.append("}");
}
return sb.toString();
}
}