-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Milestone
Description
We implemented a new JSON parser in Microsoft.Framework.Runtime and removed the dependency on Newtonsoft.Json.
Using Newtonsoft.Json in the runtime prevents customers from choosing a specific version of Newtonsoft.Json in their applications. This change will allow customers to use any version of Newtonsoft.Json in their applications.
The new JSON parser is customized for internal use. It is used to parse only the project.json, project.lock.json and global.json files.
The new JSON parser doesn't support the following syntax:
- Comments in the form of
// ...and/* ... */ - Trailing commas after the last member of objects and arrays
Other components, such as Microsoft.Framework.PackageManager, still use Newtonsoft.Json to parse JSON files.