This is stars and forks stats for /martinblech/play-mimerender repository. As of 07 May, 2024 this repository has 8 stars and 0 forks.
play-mimerender Play module for RESTful HTTP Content Negotiation. Lets you define a mapping from your domain objects to different representations: def jsonTransform(s: String) = toJson(Map("message" -> toJson(s))) def jsonpTransform(s: String, r: Request[Any]) = { val callback = r.queryString.getOrElse("callback", Nil).headOption .getOrElse("callback") Jsonp(callback, jsonTransform(s)) } val m = mapping( "text/html" -> { s: String => views.html.index(s) }, "application/xml" ->...
play-mimerender Play module for RESTful HTTP Content Negotiation. Lets you define a mapping from your domain objects to different representations: def jsonTransform(s: String) = toJson(Map("message" -> toJson(s))) def jsonpTransform(s: String, r: Request[Any]) = { val callback = r.queryString.getOrElse("callback", Nil).headOption .getOrElse("callback") Jsonp(callback, jsonTransform(s)) } val m = mapping( "text/html" -> { s: String => views.html.index(s) }, "application/xml" ->...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
ghostdogpr/caliban | ScalaShellOther | 888 | 0 | 228 | 0 |
Noble-Mushtak/Advent-of-Code | RustHaskellScala | 4 | 0 | 0 | 0 |
Yubico/java-webauthn-server | ScalaJavaJavaScript | 379 | 0 | 127 | 0 |
gauthamsam/cs260-hw6 | Scala | 0 | 0 | 0 | 0 |
maneatingape/advent-of-code | Scala | 31 | 0 | 3 | 0 |
apache/kyuubi | ScalaJavaShell | 1.7k | +5 | 690 | +2 |
AlgebraicJulia/Semagrams.jl | ScalaTclShell | 85 | 0 | 7 | 0 |
scalacenter/bloop | ScalaJavaJavaScript | 855 | 0 | 198 | 0 |
UnBCIC-TP2/Oberon-Scala | C++ScalaC | 44 | 0 | 94 | 0 |
oyvindberg/st-material-ui | Scala | 27 | 0 | 2 | 0 |