Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Add support for generation of multi-line YAML resources #616

Merged
merged 1 commit into from
Oct 28, 2016

Conversation

rhuss
Copy link
Contributor

@rhuss rhuss commented Oct 28, 2016

This PR upgrade com.fasterxml.jackson.dataformat:jackson-dataformat-yaml to version 2.8.4 which contains the bugfix FasterXML/jackson-dataformat-yaml#78 for not unquoting strings which contain boolean values.

When 2.9 is out then this should be taken along with the then new feature LITERAL_BLOCK_STYLE (instead of MINIMIZE_QUOTES). See FasterXML/jackson-dataformat-yaml#76 for details.

This PR upgrade  com.fasterxml.jackson.dataformat:jackson-dataformat-yaml to version 2.8.4 which contains the bugfix FasterXML/jackson-dataformat-yaml#78 for not unquoting strings which contain boolean values.

When 2.9 is out then this should be taken along with the then new feature LITERAL_BLOCK_STYLE (instead of MINIMIZE_QUOTES). See FasterXML/jackson-dataformat-yaml#76 for details.
@rhuss
Copy link
Contributor Author

rhuss commented Oct 28, 2016

[merge]

@fusesource-ci fusesource-ci merged commit 5bb4b73 into fabric8io:master Oct 28, 2016
@AmeyaLele
Copy link

AmeyaLele commented Apr 7, 2020

How do I get the behaviour of not 'Quoting' boolean values while parsing into yaml?
@rhuss

@AmeyaLele
Copy link

martin2: skills: python: {} pascal: {} perl: {} skill: Expert name: Martin D'vloper job: Developer boolean4: TRUE non_boolean1: yes fold_some_newlines_same: | a b c d e f boolean5: "false"

Output file snippet returned by YAMLMapper.writevalueAsString().
As seen above, there are quotes around 'boolean 5' which is not desirable.

@rhuss Thanks in advance

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

Successfully merging this pull request may close these issues.

3 participants