开发者

How to parse AMF data in Ruby?

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 fr开发者_StackOverflow社区om Ruby directly via backticks... but I'd first like to ensure that there isn't really any better option.

Thanks!


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜