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

Indentation #2

Open
simonfan opened this issue Nov 23, 2013 · 0 comments
Open

Indentation #2

simonfan opened this issue Nov 23, 2013 · 0 comments

Comments

@simonfan
Copy link
Contributor

Hey! Just to inform that the json indentation is not working.. I just needed a quick solution for that, so just added support for JSON.stringify(data, replacer, space) in both jsonFile.write(callback, replacer, space) and json.writeSync(replacer, space).

The indentation autodetection is a nice idea! But I think it is a good idea to expose JSON.stringify native functionalities.

I'll make a pull request for that simple change..

Thank you!

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

1 participant