View definition

(*Response).WriteHeaderAndJson

Defined in github.com/emicklei/go-restful/response.go

Description

WriteHeaderAndJson is a convenience method for writing the status and a value in Json with a given Content-Type. It uses the standard encoding/json package for marshalling the value ; not using a registered EntityReaderWriter.

WriteHeaderAndJson is referenced in 0 repositories