i need a secure (AES Encrypted) File, which is the fastes for parse, the smallest footprint and easy to work with.
What can you suggest? XML, JSON, YAML or Google Protocol Buffers maybe?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, XML/JSON etc are text based, which can make them slightly more expensive to parse (extra string work etc), and certainly larger (all those names in the payload). For both those reasons something like protobuf will certainly be useful if parse-cost and bandwidth are concerned. As for easy to work with: most platforms have a protobuf implementation. For deployment footprint: that would vary between platform and implementation – you’d have to check on your target platform, but: something built-in may be advantageous; as for what comes pre-installed as part of the mobile platform’s SDK, that again depends on your target platform; I would expect XML for certain, JSON as likely.