views:

130

answers:

1

So I see that there are a few Rails plugins for serving AMF. However, is there a library that I can use in a Ruby environment to act as an AMF client: to read AMF data, and deserialize it into a Ruby object?

If not, how could I best go about using tools built in other languages? I suppose I could write something in Python or Java or whatever, and call it from Ruby directly via backticks... but I'd first like to ensure that there isn't really any better option.

Thanks!

+1  A: 

Rocket-amf is what you're looking for. It support serialization and deserialization of AMF0 and AMF3 data directly into native ruby objects.

warhammerkid