private List<Element> deserializeElements(final JsonDeserializationContext context,
                                              final JsonObject json) {
        Type elementList = new TypeToken<List<Element>>() {
        }.getType();
        return context.deserialize(json.getAsJsonArray("elements"), elementList);
    }
Returns a list of elements that contained in the json object elements

@param context Deserializer context
@param json    Elements json object
mesh/src/main/java/no/nordicsemi/android/mesh/transport/NodeDeserializer.java