Enter to send·Shift+Enter new line
WriteJSON writes v as indented JSON, or through the active --jq expression.
func WriteJSON(w io.Writer, v any) error
WriteJSON writes v as indented JSON, or through the active --jq expression when one is set.
w
io.Writer
v
any