private List<Integer> getBoundAppKeyIndexes(final JsonObject jsonObject) {
        final List<Integer> boundKeyIndexes = new ArrayList<>();
        if (!(jsonObject.has("bind")))
            return boundKeyIndexes;

        final JsonArray jsonArray = jsonObject.get("bind").getAsJsonArray();
        for (int i = 0; i < jsonArray.size(); i++) {
            final int index = jsonArray.get(i).getAsInt();
            boundKeyIndexes.add(index);
        }
        return boundKeyIndexes;
    }
Sets subscription addresses to a mesh model from json

@param meshModel  Mesh Model
@param jsonObject Json representation of the mesh model
mesh/src/main/java/no/nordicsemi/android/mesh/transport/MeshModelListDeserializer.java