OSLC / oslc4net

A dotnet SDK for OSLC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Port OSLC4Net.Core.JsonProvider to use System.Text.Json

berezovskyi opened this issue · comments

OSLC4Net.Core.JsonProvider currently relies on System.Json as its main API (despite including the NuGet dependency on Newtonsoft.Json, which doesn't seem to have been used). System.Json was replaced with System.Text.Json as the recommended JSON processing approach.

The legacy System.Json namespace is not available in netstandard2.0. It should be possible to drag the legacy dependency via https://www.nuget.org/packages/System.Json#supportedframeworks-body-tab into netstandard2.0, but I was unable to get it working in #98 and removed OSLC4Net.Core.JsonProvider from the build (#109 re-adds it to the SLN).