aspnetcore/test/WebSites/FormatterWebSite
Doug Bunting d8d2e54506 Remove extra options to manipulate `JsonSerializerSettings`
- #4339: remove non-recommended JSON formatter constructors
 - affects `JsonInputFormatter`, `JsonOutputFormatter`, `JsonPatchInputFormatter`
 - `JsonOutputFormatter` cleanup also impacts `JsonHelper`
 - rename and make `SerializerSettingsProvider` class public; use it as appropriate
- #4409: make `SerializerSetings` properties get-only and `protected`
 - affects `JsonInputFormatter`, `JsonOutputFormatter`

Recommended patterns:
- change `JsonSerializerSettings` values in `MvcJsonOptions` for almost all customizations
- find `JsonOutputFormatter` in `MvcOptions.OutputFormatters` when limiting per-result formatters
- start with `JsonSerializerSettingsProvider.CreateSerializerSettings()` when customizing a per-result formatter
2016-04-27 14:48:16 -07:00
..
Controllers Remove extra options to manipulate `JsonSerializerSettings` 2016-04-27 14:48:16 -07:00
Filters
Models
FormatterWebSite.xproj
Startup.cs Update samples and test sites to new formats 2016-04-25 12:09:40 -07:00
StringInputFormatter.cs
ValidateBodyParameterAttribute.cs
project.json Update samples and test sites to new formats 2016-04-25 12:09:40 -07:00
readme.md
web.config

readme.md

FormatterWebSite

This web site illustrates how to input formatters operate on the request body. It also demonstrates how custom options can be set for model validation.