We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to parse the following YAML:
- name: GARLIC units: - clove - grams - name: "GARLIC POWDER" units: - grams
For some reasons GARLIC is parsed as garlic (lowercase) while GARLIC POWDER is parsed in uppercase.
GARLIC
garlic
GARLIC POWDER
As a fix, I used the following parser:
(Decode.field "name" (Decode.string |> Decode.andThen (String.toUpper >> Decode.succeed) ) )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to parse the following YAML:
For some reasons
GARLIC
is parsed asgarlic
(lowercase) whileGARLIC POWDER
is parsed in uppercase.As a fix, I used the following parser:
The text was updated successfully, but these errors were encountered: