In Objective-C, making iOS apps, what is the best way to go regarding serialization?
Protobuf or JSON?
In Objective-C, making iOS apps, what is the best way to go regarding serialization?
Share
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.
Protobuf is more time- and space-efficient, JSON is probably more nerve-efficient. As long as there is no reason for the former two (e.g. because the amount of data to be serialized is small and serialization is not time-critical), I would stick to JSON.
This also makes debugging more fun 🙂