YAML multiline values do not work
See original GitHub issueHi,
I need to use multiline strings in YAML, but >
and |
seems not working. For example:
testmultiline: >
line 1
line 2
$ java -jar microconfig.jar -e test
Filtered 15 component(s) in [test] env.
Using settings from /project/microconfig.yaml
java.lang.IllegalArgumentException: Incorrect delimiter in ' line 1' in '../components/apps/base-java-app/application.yml:16'
Yaml property must contain ':' as delimiter.
Would it be possible to implement this? 😃 Thanks.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
How do I break a string in YAML over multiple lines?
Quick tip: you cannot place comment inside scalar, so you cannot comment part of multiline key or value. Have to move required lines...
Read more >YAML Multiline Strings
There are two types of formats that YAML supports for strings: block scalar and flow scalar formats. (Scalars are what YAML calls basic...
Read more >YAML Superpowers, part 2: Multiline Strings
In this post we will discover the many ways YAML can represent strings, including multiline strings, keeping or stripping indentation, ...
Read more >Breaking YAML Strings Over Multiple Lines - Baeldung
Learn how to break YAML strings over multiple lines. ... We can see that our line breaks are preserved:
Read more >[bug] Secrets in multiline scalar values in YAML files not ...
Renaming the file to e.g. .json or .txt will cause the (quoted) secrets to be picked up again. So it seems to be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Let’s aim at next week
No plans for it yet.
>
is too complex comparing to|