Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add EncodeOptions#ignoreUndefined to ignore undefined values in maps #107

Merged
merged 2 commits into from
Mar 3, 2020

Conversation

gfx
Copy link
Member

@gfx gfx commented Mar 3, 2020

Resolve #106

@codecov-io
Copy link

codecov-io commented Mar 3, 2020

Codecov Report

Merging #107 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
+ Coverage   98.55%   98.57%   +0.01%     
==========================================
  Files          15       15              
  Lines         902      910       +8     
  Branches      191      195       +4     
==========================================
+ Hits          889      897       +8     
  Misses         13       13
Impacted Files Coverage Δ
src/encode.ts 100% <ø> (ø) ⬆️
src/Encoder.ts 97.92% <100%> (+0.07%) ⬆️

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 c98fd4e...e0d17b9. Read the comment docs.

@gfx gfx merged commit 27e0ebb into master Mar 3, 2020
@gfx gfx deleted the keep_undefined branch March 3, 2020 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to strip undefined values off object as JSON does
2 participants