Quantcast
Channel:
Viewing all articles
Browse latest Browse all 285

Encoding

$
0
0
Overview goa supports a flexible encoding and decoding strategy that makes it possible to associate arbitrary encoders and decoders with given response and request content types. By default all goa services can decode and encode JSON, XML and gob. Decoding The goa decoder looks at the incoming request Content-Type header and matches it with a decoder. By default application/json is mapped to the JSON decoder, application/xml to the XML decoder and application/gob to the gob decoder.

Viewing all articles
Browse latest Browse all 285