Encoder.Default| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.jr.ob.JSON |
mapper |
MAP_STRING_WILDCARD| Constructor and Description |
|---|
JacksonJrEncoder() |
JacksonJrEncoder(Iterable<com.fasterxml.jackson.jr.ob.JacksonJrExtension> iterable)
Construct with a series of
JacksonJrExtension objects that are registered into the
JSON |
JacksonJrEncoder(com.fasterxml.jackson.jr.ob.JSON mapper)
Construct with a custom
JSON to use for encoding |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Object object,
Type bodyType,
RequestTemplate template) |
public JacksonJrEncoder()
public JacksonJrEncoder(com.fasterxml.jackson.jr.ob.JSON mapper)
JSON to use for encodingmapper - the mapper to usepublic JacksonJrEncoder(Iterable<com.fasterxml.jackson.jr.ob.JacksonJrExtension> iterable)
JacksonJrExtension objects that are registered into the
JSONiterable - the source of the extensionspublic void encode(Object object, Type bodyType, RequestTemplate template)
Copyright © 2012–2023 OpenFeign. All rights reserved.