o1egl / paseto

Platform-Agnostic Security Tokens implementation in GO (Golang)
MIT License
852 stars 34 forks source link

JSONToken MarshalJSON issues #8

Closed veqryn closed 5 years ago

veqryn commented 6 years ago

Creating a JSONToken, setting the Audience, then marshaling it, then setting the Audience back to empty, will result in a token that still marshals with an Audience.

o1egl commented 6 years ago

Could you please share code sample?