How to convert java object into C struct
===

How I can convert Java Object into C struct? I know that I can translate the data with XML but I need more quick and easy way to do this? What are the possible solutions?

Best Wishes