public JsonObject getAndDecryptObject(String name, String providerName) throws Exception {
        return (JsonObject) getAndDecrypt(name, providerName);
    }
public JsonObject getAndDecryptObject ( String name , String providerName ) throws Exception { return ( JsonObject ) getAndDecrypt ( name , providerName ) ; }
Retrieves the decrypted value from the field name and casts it to {@link JsonObject}.

Note: Use of the Field Level Encryption functionality provided in the
com.couchbase.client.encryption namespace provided by Couchbase is
subject to the Couchbase Inc. Enterprise Subscription License Agreement
at https://www.couchbase.com/ESLA-11132015.

@param name the name of the field.
@param providerName Crypto provider name for decryption
@return the result or null if it does not exist.