Questions tagged [jyaml]

YAML library for Java

Deprecated YAML library for Java, developer page here

5 questions
10
votes
4 answers

Packaging a read-only data file with a Ruby gem

I'm working on a Ruby application that is deployed as a gem. I'd like to include a read-only data file with the gem and am not sure how/where that should be packaged For a little background, this application deals with the MIDI spec which includes…
Ari Russo
  • 273
  • 2
  • 10
2
votes
3 answers

How to convert the yaml file into a array using java

i need to access the yaml file data into the java file. i used the YamlReader class and now the yaml file is loaded into the java class object. now all the information is in object and i want to extract it from this object.How can i do this . Can…
user1173437
  • 21
  • 1
  • 2
1
vote
2 answers

JYaml: dump object without including class name

I have an ArrayList of objects being dumped to a YAML string and have been comparing the performance of JYaml and SnakeYaml in handling this. ArrayList testList = new ArrayList(); HashMap testMap1 = new…
Jon Cram
  • 16,609
  • 24
  • 76
  • 107
0
votes
2 answers

JYAML: Serialize/deserialize nested/inner classes

First of all, Merry Christmas to everyone! Now to my question: Let's say I have the class Outer with some inner class Inner. As a field in Outer, I have a List, which i then want to dump to a YAML file. I do this like so: Outer o = new…
pg-robban
  • 1,395
  • 4
  • 21
  • 42
0
votes
2 answers

Perl YAML::Syck encoded string, howto properly decode in Java using JYaml?

Using beanstalkd and putting a job in tube/queue that contains a hash that is YAML::Syck encoded (with $YAML::Syck::ImplicitTyping = 1). I need some syntax help on the Java end, as to how to decode handle that string pulled from the beanstalkd job.…
Gavin P.