Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Add MINIMIZE_QUOTES generator feature #38

Merged
merged 1 commit into from Sep 8, 2015
Merged

Conversation

itzg
Copy link
Contributor

@itzg itzg commented Jun 21, 2015

One of the reasons I like yaml is the option to use very little quoting...so, selfishly, I wanted a YAMLGenerator feature to enable output that looks more like:

short: one line content
long: |
  line 1
  line 2

I left the default behavior as it is now, to use quoted string scalar style.

Please let me know if there are any associated changes, such as documentation, that you would like me to make.

@cowtowncoder
Copy link
Member

Sorry about this -- I missed the update here. I'd be happy to accept this patch, seems useful. It will need to go in 2.7, being an addition to API.

One practical thing we need, before I can merge the patch, is filled Contributor License Agreement (CLA). A copy can be found here:

https://github.com/FasterXML/jackson/blob/master/contributor-agreement.pdf

and usually developers print it, fill + sign, scan and email it to info at fasterxml dot com.
If that works, it'd be great, and I can merge the patch ASAP.

Once again, thank you for the PR --- looking forward to merging it.

@itzg
Copy link
Contributor Author

itzg commented Aug 20, 2015

No problem at all. I have emailed my signed CLA.

@cowtowncoder cowtowncoder added this to the 2.7.0 milestone Sep 8, 2015
cowtowncoder added a commit that referenced this pull request Sep 8, 2015
Add MINIMIZE_QUOTES generator feature
@cowtowncoder cowtowncoder merged commit 1a983b3 into FasterXML:master Sep 8, 2015
@cowtowncoder
Copy link
Member

Thanks again, just merged!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants