SIGBlockchain / project_aurum

SIG Blockchain blockchain project in Go
https://acm.cs.uic.edu/sigblockchain
MIT License
7 stars 1 forks source link

LoadJSON #247

Closed kastolars closed 5 years ago

kastolars commented 5 years ago

package context: jsonify (New)

Given a filepointer and an interface, call ioutil.ReadAll with the filepointer, then json.Unmarshall the result to the interface.

We'll make the test a separate issue

Example logic of how the function body should work: https://github.com/SIGBlockchain/project_aurum/blob/dev/internal/config/config.go#L20