Show / Hide Table of Contents

    Class JsonSerializerSettingsExtensions

    Extension methods for the Newtonsoft.Json.JsonSerializerSettings class.

    Inheritance
    System.Object
    JsonSerializerSettingsExtensions
    Namespace: Cuemon.AspNetCore.Mvc.Formatters.Json
    Assembly: Cuemon.AspNetCore.Mvc.Formatters.Json.dll
    Syntax
    public static class JsonSerializerSettingsExtensions

    Methods

    | Improve this Doc

    Use<T>(JsonSerializerSettings, Action<T>)

    Instructs a JSON serializer to propagate the Newtonsoft.Json.JsonSerializerSettings specified by T on to s1 with an optional setup delegate.

    Declaration
    public static void Use<T>(this JsonSerializerSettings s1, Action<T> setup = null)
        where T : JsonSerializerSettings
    Parameters
    Type Name Description
    Newtonsoft.Json.JsonSerializerSettings s1

    The Newtonsoft.Json.JsonSerializerSettings to extend.

    System.Action<T> setup

    The Newtonsoft.Json.JsonSerializerSettings which need to be configured.

    Type Parameters
    Name Description
    T

    The type of the Newtonsoft.Json.JsonSerializerSettings to use.

    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX