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
type alias ConvertedModel = { sliderOptions : { rgbo : Bool , rgbl : Bool , hsvo : Bool , hsvl : Bool } }
Converts to
decodeConvertedModel : Json.Decode.Decoder ConvertedModel decodeConvertedModel = Json.Decode.map4 ConvertedModel (field "sliderOptions" decode{ decodeRgbo) (field "rgbl" Json.Decode.bool) (field "hsvo" Json.Decode.bool) (field "hsvl" Json.Decode.bool decode decode decode decode decode decode decode decode})
The text was updated successfully, but these errors were encountered:
@Muzz, pull the inner record out and put that in to json-to-elm. Generally not a good idea to have an anonymous record in your record
Sorry, something went wrong.
Ok i'll give that a shot, thanks.
No branches or pull requests
Converts to
The text was updated successfully, but these errors were encountered: