public Application apply() {
        inspector.field("currentReadShare").ifValid(v -> application = application.with(application.status().withCurrentReadShare(asDouble(v))));
        inspector.field("maxReadShare").ifValid(v -> application = application.with(application.status().withMaxReadShare(asDouble(v))));
        inspector.field("clusters").ifValid(cluster -> application = applyClustersField(cluster));
        return application;
    }
Applies the json to the application and returns it.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/restapi/ApplicationPatcher.java