Yaegi interpreter unexpected behavior

I've written plugin for jwt validation,

I've used github.com/golang-jwt/jwt/v4

When I'm running Parse token, I get an empty map (only in yaegi test)
go test works fine,

I tried to debug this and I've found out the issue in the line 162

the decode from object return empty string, example object:


I think it doesn't work with the json:"email,omitempty" annotation.

any idea how to manage it?

I think I'm using yaegi latest

thank you in advance


If you want to ask a question about yaegi, you have to open a discussion here traefik/yaegi Q A · Discussions · GitHub

Done, thanks :pray:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.