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

Add functionality to convert a JSON to a string #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

p-fernandez
Copy link

I have installed this plugin today because I was looking for a fast way to pretty print JSON and this almost fulfilled my needs. But I also wanted a functionality to stringify the JSON, so taking as start some of your defined functionalities I developed the functionality I needed.
I just leave this PR in case you find it useful to share for the plugin users. In case you like it, let me know any corrections you might want of it.

@tpope
Copy link
Owner

tpope commented Jun 3, 2018

Not sure what is meant here by "string". Looks like it combines everything onto one long line?

@p-fernandez
Copy link
Author

Right. Just tried to replicate the functionality of JavaScript's JSON.stringify method without the extra features of replacer and space.

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