public class LngLatAltSerializer extends com.fasterxml.jackson.databind.JsonSerializer<LngLatAlt>
| Modifier and Type | Field and Description |
|---|---|
static long[] |
POW10 |
| Constructor and Description |
|---|
LngLatAltSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
fastDoubleToString(double val,
int precision)
The following must convert double to String in a much more efficient way then Double.toString()
|
void |
serialize(LngLatAlt value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
protected static String fastDoubleToString(double val, int precision)
val - precision - public void serialize(LngLatAlt value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<LngLatAlt>IOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2015. All rights reserved.