elm.aliasEncoder.mustache Maven / Gradle / Ivy
{{classVarName}}Encoder : {{classname}} -> Encode.Value
{{classVarName}}Encoder model =
{{#parent}}Encode.list (List.map {{vendorExtensions.x-encoder}} model){{/parent}}{{^parent}}Encode.object
{{#allVars}}
{{#-first}}[{{/-first}}{{^-first}},{{/-first}} {{>fieldEncoder}}
{{/allVars}}
]{{/parent}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy