MCPcopy Create free account
hub / github.com/Deleplace/programming-idioms / printJSON

Function printJSON

web/appengine/api.go:17–34  ·  view source on GitHub ↗

API JSON endpoints for idioms data. This enables a SPA client where the backend serves data in JSON instead of HTML. printJSON will be called at the end of each endpoint.

(w http.ResponseWriter, data interface{}, pretty bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

jsonIdiomFunction · 0.85
jsonAllIdiomsFunction · 0.85
jsonSearchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected