Closed mansiag closed 3 years ago
@mansiag I'll update the docs. We planned to introduce such a method but in the end it was discussed that this method could introduce confusion, so instead I'll document how to manually convert from base64url
to base64
by adding the code:
base64urlString
.replace('-', '+')
.replace('_', '/');
As, this converts data between the 2 encoding formats.
@pmlopes Can you please also provide more information on my second mail here on Decode - https://groups.google.com/g/vertx/c/JKcKfjE5wTo
Questions
Unable to find Json.toBase64() method mentioned in the migration guide
https://vertx.io/docs/apidocs/io/vertx/core/json/Json.html
Version
Which version(s) did you encounter this bug ? 4.1.0