private JsonElement serializeAllocatedGroupRanges(@NonNull final JsonSerializationContext context,
                                                      @NonNull final List<AllocatedGroupRange> ranges) {
        final Type allocatedGroupRanges = new TypeToken<List<AllocatedGroupRange>>() {
        }.getType();
        return context.serialize(ranges, allocatedGroupRanges);
    }
Returns serialized json element containing the allocated group ranges

@param context Serializer context
@param ranges  allocated group range
mesh/src/main/java/no/nordicsemi/android/mesh/MeshNetworkDeserializer.java