You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use both json.Unmarshal(for the header) and json.NewDecoder/Decode in ParseUnverified (for the claims). However, we only really need to use the decode type if we have UseNumber enabled. The decoder has about a 30 % performance drawback compared to only using json.Unmarshal + more allocations.
We use both
json.Unmarshal
(for the header) andjson.NewDecoder
/Decode
inParseUnverified
(for the claims). However, we only really need to use the decode type if we haveUseNumber
enabled. The decoder has about a 30 % performance drawback compared to only usingjson.Unmarshal
+ more allocations.Results:
The text was updated successfully, but these errors were encountered: