All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala-play-server.simpleParentJsonFormat.mustache Maven / Gradle / Ivy

val innerFormat = Format.of[{{parent}}]

Format(
  innerFormat.map(inner => {{classname}}(inner)),
  {{classVarName}} => innerFormat.writes({{classVarName}}.{{#isArrayModel}}items{{/isArrayModel}}{{#isMapModel}}additionalProperties{{/isMapModel}}
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy