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

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