Skip to content

Latest commit

 

History

History
executable file
·
26 lines (17 loc) · 690 Bytes

README.md

File metadata and controls

executable file
·
26 lines (17 loc) · 690 Bytes

Jil MediaTypeFormatter

Replacement of JsonMediaTypeFormatter using JIL

Usage

First install the nuget package

Remove old JSON formatter

config.Formatters.Remove( config.Formatters.JsonFormatter );

Add new JIL formatter

config.Formatters.Add( new JilMediaTypeFormatter() );

Why?

JIL is fast

Gotchas

config.Formatters.JsonFormatter is going to be null after you install the JIL formatter.