View definition

(*Response).WriteAsJson

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

Description

WriteAsJson is a convenience method for writing a value in json. It uses the standard encoding/json package for marshalling the value ; not using a registered EntityReaderWriter.