MCPcopy Create free account
hub / github.com/alecthomas/devtodo2 / NewJSONIO

Function NewJSONIO

jsonio.go:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func NewJSONIO() TaskListIO {
31 return &jsonIO{}
32}
33
34func (j *jsonIO) Deserialize(reader io.Reader) (tasks TaskList, err error) {
35 decoder := json.NewDecoder(reader)

Callers 4

loadTaskListFunction · 0.92
saveTaskListFunction · 0.92
loadMethod · 0.92
saveMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected