YAML parse restrict object types

I want to use YAML as a data language for a simple and secure RPC
mechanism. Is there any way to restrict the types of objects that
YAML::load() will produce. I want, for instance, to restrict it to
Arrays, Hashes, Strings and Fixnums.

Thanks,
Ben

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs