public class Json extends Object implements Jooby.Module
| Constructor and Description |
|---|
Json() |
Json(com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Env mode,
com.typesafe.config.Config config,
com.google.inject.Binder binder) |
Json |
doWith(Consumer<com.fasterxml.jackson.databind.ObjectMapper> block) |
Json |
types(List<MediaType> types) |
Json |
types(MediaType... types) |
Json |
types(String... types) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfig, start, stoppublic Json(com.fasterxml.jackson.databind.ObjectMapper mapper)
public Json()
public void configure(Env mode, com.typesafe.config.Config config, com.google.inject.Binder binder)
configure in interface Jooby.ModuleCopyright © 2015. All rights reserved.