gojay icon indicating copy to clipboard operation
gojay copied to clipboard

Adding NextToken() method to decoder

Open marcsantiago opened this issue 4 years ago • 1 comments

Decoder: Add the ability to determine the next token. This is useful within the context of mixed JSON data in the UnmarshalJSONObject implementation

fixes https://github.com/francoispqt/gojay/issues/119

marcsantiago avatar Jun 30 '20 04:06 marcsantiago

Codecov Report

Merging #147 into master will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #147   +/-   ##
=======================================
  Coverage   99.96%   99.96%           
=======================================
  Files          38       39    +1     
  Lines        5323     5339   +16     
=======================================
+ Hits         5321     5337   +16     
  Misses          1        1           
  Partials        1        1           
Impacted Files Coverage Δ
decode_token.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1398296...2c2cfc8. Read the comment docs.

codecov-commenter avatar Jun 30 '20 04:06 codecov-commenter