php-jwt icon indicating copy to clipboard operation
php-jwt copied to clipboard

Need ability to set flags on json_encode()

Open kmuenkel opened this issue 5 years ago • 0 comments

Firebase\JWT::jsonEncode() automatically converts all values to strings. But some JWT converters expect the 'exp' and 'iat' values to be integers. Need the ability to apply flags to the json_encode() call, so that JSON_NUMERIC_CHECK can be added if needed.

kmuenkel avatar Sep 21 '20 22:09 kmuenkel