scala-play-server.simpleParentJsonFormat.mustache Maven / Gradle / Ivy
val innerFormat = Format.of[{{parent}}]
Format(
innerFormat.map(inner => {{classname}}(inner)),
{{classVarName}} => innerFormat.writes({{classVarName}}.{{#isArray}}items{{/isArray}}{{#isMap}}additionalProperties{{/isMap}}
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy