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

Convert Object to JSON string? #2

Closed
saada opened this issue Dec 2, 2014 · 3 comments
Closed

Convert Object to JSON string? #2

saada opened this issue Dec 2, 2014 · 3 comments

Comments

@saada
Copy link

saada commented Dec 2, 2014

Is there an API to convert an Object to a JSON string?

@FLGMwt
Copy link

FLGMwt commented Dec 2, 2014

From the readme: It currently focuses on reading JSON data rather than creating it. Lookin' like-a nope.

@antonholmquist
Copy link
Owner

It should be possible using the Marshall() method.

str, err := j.Marshall()

@antonholmquist
Copy link
Owner

So I think this is no longer a question. Closing.

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

No branches or pull requests

3 participants