Skip to content
Advertisement

Multiple Lines Snakeyaml

I wanted to know how to do this in yaml on java:

JavaScript

I only managed to do it without “subfields”, like this:

JavaScript

with this code:

JavaScript

Advertisement

Answer

If you want a nested YAML structure, create a nested data structure:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement