From: "E.-R. Bruecklmeier" Date: 2004-07-06T18:07:45+09:00 Subject: Re: [Q] YAML Error: stack level too deep Anders Bengtsson schrieb: > > > You're probably writing a very deep object graph, which uses up all the > stack. > One solution could be to write custom YAML emitters for some of your > classes, that writes the data in a more "flat" form (writing a tree of > objects as a list, etc.) > Look in the YAML source for how Ruby's built-in types are written to > YAML. > Thank you, for the quick answer. But i don't want to go deeper in this matter, i'm just looking for a quick and dirty method to serialize large objects in a readable manner. Eric.