Restore: DependencyGraphSpec.Load(...) does not need JObject #9040
Labels
Category:Quality Week
Issues that should be considered for quality week
Functionality:Restore
Tenet:Performance
Performance issues
Type:Bug
Milestone
DependencyGraphSpec.Json
is unused except by tests. Holding both theNewtonsoft.Json.Linq.JObject
and the NuGet representations of a dependency graph spec in memory is completely unnecessary.Recommendations:
DependencyGraphSpec.Json
property.DependencyGraphSpec.Load(string)
to deserialize aDependencyGraphSpec
object incrementally using aNewtonsoft.Json.JsonTextReader
and avoid deserializing completely into aJObject
first.The text was updated successfully, but these errors were encountered: