Microsoft.IdentityModel.Tokens.Json.JsonSerializerPrimitives
namespace Microsoft.IdentityModel.Tokens.Json
{
internal static class JsonSerializerPrimitives
{
public static JsonException CreateJsonReaderException(ref Utf8JsonReader reader, string expectedType, string className, string propertyName, Exception innerException = null);
public static Exception CreateJsonReaderExceptionInvalidType(ref Utf8JsonReader reader, string expectedType, string className, string propertyName);
public static JsonElement CreateJsonElement(IList<string> strings);
public static JsonElement CreateJsonElement(string json);
public static bool TryCreateTypeFromJsonElement<T>(JsonElement jsonElement, out T t);
public static void WriteAsJsonElement(ref Utf8JsonWriter writer, string json);
public static void WriteObjects(ref Utf8JsonWriter writer, IDictionary<string, object> dictionary);
public static void WriteObject(ref Utf8JsonWriter writer, string key, object obj);
public static void WriteObjectValue(ref Utf8JsonWriter writer, object obj);
public static void WriteStrings(ref Utf8JsonWriter writer, ReadOnlySpan<byte> propertyName, IList<string> strings);
public static void WriteStrings(ref Utf8JsonWriter writer, ReadOnlySpan<byte> propertyName, ICollection<string> strings);
public static void WriteStrings(ref Utf8JsonWriter writer, ReadOnlySpan<byte> propertyName, IList<string> strings, string extraString);
}
}