ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.JsonNet Namespace / JsonAttribute Class / JsonAttribute Constructor / JsonAttribute Constructor(Boolean,Int32,String)
A flag indicating whether the default value should be serialized or deserialized.
A System.Int32 value indicating the order of serialization or deserialization.
The specified name the property would be serialized.

In This Topic
    JsonAttribute Constructor(Boolean,Int32,String)
    In This Topic
    Initializes a new instance of the JsonAttribute class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal skipIfDefault As Boolean, _
       ByVal order As Integer, _
       ByVal propertyName As String _
    )
    public JsonAttribute( 
       bool skipIfDefault,
       int order,
       string propertyName
    )

    Parameters

    skipIfDefault
    A flag indicating whether the default value should be serialized or deserialized.
    order
    A System.Int32 value indicating the order of serialization or deserialization.
    propertyName
    The specified name the property would be serialized.
    See Also