Controlling JSON Processing
Learn about controlling JSON processing, including options for field inclusion/exclusion, casing policies, case sensitivity policies, and whitespace formatting.
There are many options for taking control of how JSON is processed, as shown in the following list:
Including and excluding fields.
Setting a casing policy.
Selecting a case-sensitivity policy.
Choosing between compact and prettified whitespace.
Working with JSON serialization
Let’s see some in action:
Step 1: Use your preferred code editor to add a new Console App or console project named WorkingWithJson
to the Chapter09
solution or workspace.
In Visual Studio Code, select
WorkingWithJson
as ...