MCPcopy Index your code
hub / github.com/ZenNotes/zennotes / readJSON

Function readJSON

apps/server/internal/httpserver/server.go:278–280  ·  view source on GitHub ↗
(r *http.Request, out *T)

Source from the content-addressed store, hash-verified

276}
277
278func readJSON[T any](r *http.Request, out *T) error {
279 return json.NewDecoder(r.Body).Decode(out)
280}
281
282// --- Handlers: meta ---
283

Callers 15

setVaultSettingsMethod · 0.85
selectVaultMethod · 0.85
writeCommentsMethod · 0.85
writeNoteMethod · 0.85
createNoteMethod · 0.85
createExcalidrawMethod · 0.85
renameNoteMethod · 0.85
deleteNoteMethod · 0.85
trashNoteMethod · 0.85
restoreNoteMethod · 0.85
archiveNoteMethod · 0.85
unarchiveNoteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected