ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.JsonNet Namespace / JsonAttribute Class / JsonAttribute Constructor / JsonAttribute Constructor(Boolean)
A flag indicating whether the default value should be serialized or deserialized.

In This Topic
    JsonAttribute Constructor(Boolean)
    In This Topic
    Initializes a new instance of the JsonAttribute class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal skipIfDefault As Boolean _
    )
    public JsonAttribute( 
       bool skipIfDefault
    )

    Parameters

    skipIfDefault
    A flag indicating whether the default value should be serialized or deserialized.
    See Also