| Package | Description |
|---|---|
| org.hibernate.search.elasticsearch.gson.impl |
| Modifier and Type | Field and Description |
|---|---|
static JsonElementType<com.google.gson.JsonArray> |
JsonElementType.ARRAY |
static JsonElementType<com.google.gson.JsonNull> |
JsonElementType.NULL |
static JsonElementType<com.google.gson.JsonObject> |
JsonElementType.OBJECT |
static JsonElementType<com.google.gson.JsonPrimitive> |
JsonElementType.PRIMITIVE |
| Modifier and Type | Method and Description |
|---|---|
List<JsonElementType<?>> |
UnexpectedJsonElementTypeException.getExpectedTypes() |
| Modifier and Type | Method and Description |
|---|---|
abstract <T extends com.google.gson.JsonElement> |
JsonAccessor.getOrCreate(com.google.gson.JsonObject root,
JsonElementType<T> type)
Get the current value of the lement this accessor points to for the given
root,
creating it and setting it if it hasn't been set yet. |
| Constructor and Description |
|---|
UnexpectedJsonElementTypeException(JsonAccessor accessor,
JsonElementType<?> expectedType,
com.google.gson.JsonElement actualElement) |
| Constructor and Description |
|---|
UnexpectedJsonElementTypeException(JsonAccessor accessor,
List<? extends JsonElementType<?>> expectedTypes,
com.google.gson.JsonElement actualElement) |
Copyright © 2006–2017 Hibernate. All rights reserved.