Skip to content

Implement JSONObject.fromJson() with unit tests #1003

Closed

Description

@stleary

Gson has an API method <T> fromJson(String, Class<T>), which converts a JSON doc to an instance of class T.
JSON-Java should have a similar capability.
New unit tests to thoroughly exercise the functionality should be included.

Activity

  1. stleary commented on Oct 29, 2025

    @stleary
    OwnerAuthor

    Feature is implemented, merge pending

  2. stleary commented on Nov 12, 2025

    @stleary
    OwnerAuthor

    Closing this issue due to feature is completed in #1006. If there are any questions or issues with the fix, please open a new ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions