Using the Built-in Media Formatters

  • Adam Freeman
Chapter

Abstract

In this chapter, I focus on the built-in media type formatter classes, which are used to serialize data model objects into JSON and XML. I start by showing you how to control the way that the default media type formatters are used when there is no match between the formats they support and the request Accept header and then show you how to manage the serialized data that the formatters produce.

Keywords

Action Method Count Property Constructor Argument Callback Function Error Array 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Adam Freeman 2014

Authors and Affiliations

  • Adam Freeman
    • 1
  1. 1.Milton KeynesUnited Kingdom

Personalised recommendations