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

Use JSON format in Any::ToString() #12

Closed
saschazelzer opened this issue Mar 8, 2014 · 1 comment
Closed

Use JSON format in Any::ToString() #12

saschazelzer opened this issue Mar 8, 2014 · 1 comment
Assignees
Milestone

Comments

@saschazelzer
Copy link
Member

The Any class has a generic ToString() method. It should use a standard notation for printing its value. JSON is a good fit for this purpose.

@saschazelzer saschazelzer added this to the Releasse 3.0 milestone Mar 8, 2014
@saschazelzer saschazelzer self-assigned this Mar 8, 2014
@saschazelzer
Copy link
Member Author

In branch 12-json-formatting-of-any a new method Any::ToJSON() was introduced. The ToString() method is almost the same as ToJSON(), except that it does not quote character strings.

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

No branches or pull requests

1 participant