Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JSON namespace/class ambiguity #65

Merged
merged 3 commits into from
Jan 2, 2019

Conversation

michaelboccara
Copy link
Contributor

A suggested fix for issue #51 , to remove ambiguity conflict with a JSON library like Matt Shoen's: don't use the overloaded JSON symbol, and instead use directly the JSONNode class:

JSONNode node = JSONNode.Parse(jsonString);
feels better than:
JSONNode node = JSON.Parse(jsonString);

… Matt Shoen,s: don't use the overloaded JSON symbol, and use a more explicit JSONNode class reference

JSONNode node = JSONNode.Parse(jsonString);
makes more sense than:
JSONNode node = JSON.Parse(jsonString);
@caseypugh caseypugh added this to the 0.9.5 milestone Jan 2, 2019
@caseypugh caseypugh self-requested a review January 2, 2019 19:46
Copy link
Contributor

@caseypugh caseypugh left a comment

Choose a reason for hiding this comment

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

This looks great, thanks!

@caseypugh caseypugh merged commit fb5a386 into vimeo:master Jan 2, 2019
This was referenced Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants