You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We may want to pass a custom extension such as .foobar.
In that case, we could pass an extra flag to provide the format (such as --yaml) or be smart and guess.
The text was updated successfully, but these errors were encountered:
Personally I would suggest not trying to be smart and guess the type if it isn't noted as an extension. YAML is a disaster to detect because it's technically a superset of JSON, so most JSON is valid YAML and YAML can be made to look very much like JSON but actually work the same way a JSON parser would handle it.
We may want to pass a custom extension such as
.foobar
.In that case, we could pass an extra flag to provide the format (such as
--yaml
) or be smart and guess.The text was updated successfully, but these errors were encountered: