Description

WriteJSON writes the JSON encoding of v to the connection.

See the documentation for encoding/json Marshal for details about the conversion of Go values to JSON.

WriteJSON is referenced in 220 repositories

github.com/gorilla/websocket github.com/rubenv/broadcaster github.com/bwmarrin/discordgo

...