What's the most optimal format? #1
mohammed90
started this conversation in
Data Format
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Data formats are a dime a dozen. The hope is to pick a format that has good tooling in almost all programming languages and environments to facilitate testing everywhere (as possible). The format is preferrable to have a schema variant so invalid/unexpected data cannot sneak in.
Studying prior art of projects with similar aspirations we have the following:
I considered and discussed Protocol Buffers because it comes with schema definition and a textual format, making it possible to write the test scenarios by hand and perhaps be partially machine generated. Protocol Buffers support isn't mainstream for many languages. There's official support for 7 programming languages, and the rest are community maintained if available. Thus the protocol buffers consideration make them less portable than JSON.
What other data format are to be considered? Is JSON the strongest contender?
Beta Was this translation helpful? Give feedback.
All reactions