Braintree/src/main/java/com/braintreepayments/api/models/PaymentMethodNonce.java
@Nullable
    public static PaymentMethodNonce parsePaymentMethodNonces(String json, String type) throws JSONException {
        return parsePaymentMethodNonces(new JSONObject(json), type);
    }
@Nullable
    public static PaymentMethodNonce parsePaymentMethodNonces(String json, String type) throws JSONException {
        return parsePaymentMethodNonces(new JSONObject(json), type);
    }
Parses a {@link PaymentMethodNonce} from json.

@param json {@link String} representation of a {@link PaymentMethodNonce}.
@param type The {@link String} type of the {@link PaymentMethodNonce}.
@return {@link PaymentMethodNonce}
@throws JSONException