Questions tagged [snakeyaml]

SnakeYAML is a YAML parser and emitter for the Java programming language.

395 questions
-1
votes
1 answer

Get Array from YAML

I develope a Minecraft Bukkit Plugin and I want to save informations in a configuration file. I want to save an array in my yaml configuration file and load the data. This is my yaml file: # Locations Locations: - name: "Survival" position: 5 …
Can Spielt
  • 27
  • 8
-1
votes
1 answer

Is it possible to obtain an yaml property at runtime?

yaml is very convenient because you are getting a nice deserialization from yaml to java but in my case I need to be able to obtain the property value at runtime. Is there a way to accomplish this as if you were using .properties file instead, for…
Todor Kolev
  • 1,432
  • 1
  • 16
  • 33
-2
votes
1 answer

How to parse YAML with SnakeYaml low-level API like getAsInt?

The SnakeYaml docs provide examples how to de-serialize YAML into Java Class. I'm looking for simple low-level API that's similar to GSON getAsInt, does SnakeYaml support that?
Alex Craft
  • 13,598
  • 11
  • 69
  • 133
1 2 3
26
27