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

Return object? #7

Closed
freenerd opened this issue Jun 19, 2015 · 3 comments
Closed

Return object? #7

freenerd opened this issue Jun 19, 2015 · 3 comments

Comments

@freenerd
Copy link
Contributor

Currently the tidy function returns a string. Why not return an object? My feeling is that users would want to continue manipulating the object, thus they'd need to immediatly JSON.parse again.

@freenerd
Copy link
Contributor Author

/cc @planemad

@planemad
Copy link
Contributor

@freenerd it was to make it easy to run it from terminal and write to an output file. Guess i'll make it return a string from CLI and object otherwise? @aaronlidman

@freenerd
Copy link
Contributor Author

sounds good

On Fri, Jun 19, 2015 at 6:58 PM, Arun Ganesh notifications@github.com
wrote:

@freenerd https://github.com/freenerd it was to make it easy to run it
from terminal and write to an output file. Guess i'll make it return a
string from CLI and object otherwise? @aaronlidman
https://github.com/aaronlidman


Reply to this email directly or view it on GitHub
#7 (comment).

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

2 participants