crypto
b64url_encode_json(tbl) -> encoded, err
tbl
encoded
err
JSON-encode a table and base64url-encode the result
Encodes tbl with cjson.safe and base64url-encodes the JSON bytes. Returns nil and a reason if JSON encoding fails.
cjson.safe