Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public final class LocationLevelDeserializer extends JsonDeserializer<LocationLe
public LocationLevel deserialize(JsonParser p, DeserializationContext ctxt) throws IOException {
ObjectMapper mapper = (ObjectMapper) p.getCodec();
JsonNode node = mapper.readTree(p);
if (node.has("constituents")) {
if (node.has("constituent-connections")) {
return mapper.treeToValue(node, VirtualLocationLevel.class);
} else if (node.has("constant-value")) {
return mapper.treeToValue(node, ConstantLocationLevel.class);
Expand Down
Loading