public class AliasesDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<java.util.Map<java.lang.String,java.util.List<JacksonMonolingualTextValue>>>
JacksonTermedStatementDocument.
It implements a workaround to cope with empty aliases being represented as
"aliases":[] despite its declaration as map and not as list or
array. This is neither nice nor fast, and should be obsolete as soon as
possible.
JacksonTermedStatementDocument.setAliases(Map)| Constructor | Description |
|---|---|
AliasesDeserializer() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.util.List<JacksonMonolingualTextValue>> |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
public java.util.Map<java.lang.String,java.util.List<JacksonMonolingualTextValue>> deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws java.io.IOException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<java.util.Map<java.lang.String,java.util.List<JacksonMonolingualTextValue>>>java.io.IOExceptionCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage