Skip to content

org.json.JSONObject.wrap #370

@hypersoft

Description

@hypersoft

Cannot extend the wrapper with failover chaining because the method is static.

recommendations

  • search the object for toJSONObject and
  • toJSONArray
    OR
  • add an extendable wrapping function for external plugging.

I am just going to re-write your code for my (private) project, to suit my needs. We cannot change the past, but we can create the future (if we look ahead far enough into the circumstances).

Thanks for creating this project. Your HashMapping logic is proving to be valuable. But what I do not comprehend, is why you didn't base the whole project on HashMaps and Object arrays. That's what the JSON is. Had you done that, we wouldn't be reading/writing this.

Thanks for your contribution.

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