-
Notifications
You must be signed in to change notification settings - Fork 331
FastExpressionCompiler
chaowlert edited this page Sep 9, 2018
·
4 revisions
Need more speed? Let's compile with FastExpressionCompiler.
Getting the package
PM> Install-Package FastExpressionCompiler
Then add following code on start up
TypeAdapterConfig.GlobalSettings.Compiler = exp => exp.CompileFast();
That's it. Now your code will enjoy performance boost 1.3 to 4.0 times faster!
- Configuration
- Config inheritance
- Config instance
- Config location
- Config validation & compilation
- Config for nested mapping
- Custom member matching logic
- Constructor mapping
- Before & after mapping
- Setting values
- Shallow & merge mapping
- Recursive & object references
- Custom conversion logic
- Inheritance