Refactor json.Decode to json.Unmarshal
What does this MR do and why?
Closes #11 (closed)
Refactor code to use json.Unmarshal
instead of json.Decoder
. Decoder
can silence invalid JSON data. The same logic was applied for xml.Decoder
and yaml.Decoder
.
Edited by Emerald-Jayde Henao