private JsonElement serializeProvisioners(@NonNull final JsonSerializationContext context,
                                              @NonNull final List<Provisioner> provisioners) {
        final JsonArray jsonArray = new JsonArray();
        for (Provisioner provisioner : provisioners) {
            final JsonObject provisionerJson = new JsonObject();
            provisionerJson.addProperty("provisionerName", provisioner.getProvisionerName());
            provisionerJson.addProperty("UUID", provisioner.getProvisionerUuid().toUpperCase(Locale.US)/*MeshParserUtils.uuidToHex(provisioner.getProvisionerUuid())*/);
            provisionerJson.add("allocatedUnicastRange",
                    serializeAllocatedUnicastRanges(context, provisioner.allocatedUnicastRanges));

            provisionerJson.add("allocatedGroupRange",
                    serializeAllocatedGroupRanges(context, provisioner.allocatedGroupRanges));

            provisionerJson.add("allocatedSceneRange",
                    serializeAllocatedSceneRanges(context, provisioner.allocatedSceneRanges));
            jsonArray.add(provisionerJson);
        }
        return jsonArray;
    }
Returns serialized json element containing the provisioners

@param context      Serializer context
@param provisioners Provisioners list
@return JsonElement
mesh/src/main/java/no/nordicsemi/android/mesh/MeshNetworkDeserializer.java