public static JsonSerializerOptions GetRelaxedJsonSerializerOptions()

in Notation.Plugin.AzureKeyVault/Protocol/PluginIO.cs [19:28]


        public static JsonSerializerOptions GetRelaxedJsonSerializerOptions()
        {
            return new JsonSerializerOptions
            {
                // The Notation reads the output as UTF-8 encoded and 
                // the JSON text will not be used in HTML, so skip the strict
                // escaping rule for readability.
                Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping
            };
        }