Last active
September 8, 2017 17:50
-
-
Save MuriloMazzeu/72a7e179a5d4214e90d7d37cd6206dec to your computer and use it in GitHub Desktop.
WebAPI's Snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.Formatters.JsonFormatter.SerializerSettings.PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects; | |
config.Formatters.Remove(config.Formatters.XmlFormatter); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment