Skip to content

Conversation

inder123
Copy link
Collaborator

@inder123 inder123 commented Aug 9, 2015

No description provided.

@inder123
Copy link
Collaborator Author

inder123 commented Aug 9, 2015

@swankjesse @JakeWharton Is this a good idea (to implement List instead of Iterable for JsonArray)? Bloats the API a little bit, but useful nonetheless.

@swankjesse
Copy link
Contributor

It isn't a binary-compatible change.

@swankjesse
Copy link
Contributor

Don't forget equals().

@swankjesse
Copy link
Contributor

It don't feel strongly either way.

If we make this change we will need to figure out the binary compatibility problem.

Also if we make this change we should change JsonObject to implement Map for symmetry.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll also want the RandomAccess marker interface.

@inder123
Copy link
Collaborator Author

I agree we should keep binary compatibility. Closing the pull request.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants