Conversation
Looking at - custom .txt format - json - yaml - toml with the goals of - be human readable + writable - be machine readable + writable - work consistently across multiple implementations (upload, edit, processmedia, lint, scripts) txt: - the most compact format (the only format which supports chained tags directly) - looks very simple - quoting is confusing (`source: http://youtube.com/asdfas` is a bug) - no support for newlines - needs a custom implementation for each service (upload, processmedia, and scripts are already incompatible...) json: - most languages have support built-in, no need to even use a library - not as human-friendly as the alternatives - more verbose than the alternatives - jq is a nice command line tool yaml: - weird quoting rules (`en` is a string, `jp`, is a string, `kr` is a string, `no` is a boolean) toml: - seems consistent across languages - easy enough for humans I'd like to have one format which all tools support, but temporarily having support for multiple formats in parallel means we can migrate by parts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Looking at
with the goals of
txt:
source: http://youtube.com/asdfasis a bug)json:
yaml:
enis a string,jp, is a string,kris a string,nois a boolean)toml:
I'd like to have one format which all tools support, but temporarily having support for multiple formats in parallel means we can migrate by parts