arun11299 / cpp-jwt

JSON Web Token library for C++
MIT License
387 stars 112 forks source link

Not able to call `payload()` with a string #94

Closed TennisBowling closed 1 year ago

TennisBowling commented 2 years ago

I'm currently trying to use jwt::params::payload() in making a jwt_object, but my "payload" is a string (json string). I'm not sure how to get it into payload().