ThiagoBarradas / jsonmasking

Replace fields in json, replacing by something, don't care if property is in depth objects. Very useful to replace passwords credit card number, etc.
MIT License
174 stars 47 forks source link

Added Json Array support for json string and also MaskFields_Should_Mask_With_Wildcard_ForJsonArray Unit Test Method #7

Closed FatihKosal closed 4 months ago

FatihKosal commented 10 months ago

json.MaskFields method was giving exception for json array strings.

Now I added json array support.

You can test it via MaskFields_Should_Mask_With_Wildcard_ForJsonArray

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8689a83) 100.00% compared to head (cb4910f) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #7 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 1 1 Lines 28 33 +5 Branches 8 10 +2 ========================================= + Hits 28 33 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.