<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.15" />

Microsoft.Rest.Serialization.SafeJsonConvert

public static class SafeJsonConvert
Provides an alternative to JSON.NET's JsonConvert that does not inherit any settings from JsonConvert.DefaultSettings.
public static T DeserializeObject<T>(string json, JsonSerializerSettings settings)

Deserializes the given JSON into an instance of type T.

public static T DeserializeObject<T>(string json, JsonConverter[] converters)

Deserializes the given JSON into an instance of type T using the given JsonConverters.

public static string SerializeObject(object obj, JsonSerializerSettings settings)

Serializes the given object into JSON.

public static string SerializeObject(object obj, JsonConverter[] converters)

Serializes the given object into JSON using the given JsonConverters.