TcM1911 / stix2

A pure Go library for working with Structured Threat Information Expression (STIX™) version 2.x data
BSD 2-Clause "Simplified" License
22 stars 6 forks source link

added ExtensionType MarshalJSON #62

Closed wrbrant closed 9 months ago

wrbrant commented 9 months ago

Very simple fix, added a quick test to prove that ExtensionType marshals as expected. Closes out issue #60

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (e517f37) 99.30% compared to head (7c3517c) 99.30%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #62 +/- ## ======================================= Coverage 99.30% 99.30% ======================================= Files 44 44 Lines 2010 2011 +1 ======================================= + Hits 1996 1997 +1 Misses 7 7 Partials 7 7 ```

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