| Modifier and Type | Method and Description |
|---|---|
static JsonSupplier |
create(Supplier<?> objectSupplier,
boolean pretty,
com.fasterxml.jackson.databind.Module... modules)
Constructs an instance.
|
static JsonSupplier |
create(Supplier<?> objectSupplier,
com.fasterxml.jackson.databind.Module... modules)
Constructs an instance.
|
String |
get() |
public static JsonSupplier create(Supplier<?> objectSupplier, com.fasterxml.jackson.databind.Module... modules)
objectSupplier - a supplier that will provide an object each time it is called, that can be transformed into JSONmodules - modules for the object mapperpublic static JsonSupplier create(Supplier<?> objectSupplier, boolean pretty, com.fasterxml.jackson.databind.Module... modules)
objectSupplier - A supplier that will provide an object each time it is called, that can be transformed into JSON.modules - Modules for the object mapper.Copyright © 2013–2020 Hotels.com. All rights reserved.