Skip to content

Jsoncpp aliases 2 #868

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

Merged

Conversation

BillyDonahue
Copy link
Contributor

There's no reason for those JSONCPP_STRING etc to be macros.
Let's use real typedefs so the compiler can see them for what they are, and they can have proper namespacing, etc.

Copy link
Contributor

@hjmjohnson hjmjohnson left a comment

Choose a reason for hiding this comment

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

I approve all of this. My one concern is that this is really just one topic. Personally, I'd like to see it squashed to one commit.

I don't think it's helpful for future developers to need to navigate how you got to the final solution. <-- My 2cents, feel free to ignore.

using JSONCPP_ISTRINGSTREAM = Json::IStringStream;
using JSONCPP_OSTRINGSTREAM = Json::OStringStream;
using JSONCPP_ISTREAM = Json::IStream;
using JSONCPP_OSTREAM = Json::OStream;
Copy link
Contributor

Choose a reason for hiding this comment

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

NICE!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh yes, I intend to squash it all down to one commit.
It's separate commits just so that it's reviewable steps.
7b1e53c is huge, but it's just a big rename.

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 Feel free to merge right after squashing.

@BillyDonahue BillyDonahue merged commit b9ed29a into open-source-parsers:master Jan 18, 2019
@BillyDonahue BillyDonahue deleted the jsoncpp_aliases_2 branch January 18, 2019 04:28
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.

2 participants