Json.NET - Quick Starts & API Documentation
CreateProperty Method (member, memberSerialization)
Namespaces ► Newtonsoft.Json.Serialization ► DefaultContractResolver ► CreateProperty(MemberInfo, MemberSerialization)
Creates a JsonProperty for the given MemberInfo.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected virtual JsonProperty CreateProperty( MemberInfo member, MemberSerialization memberSerialization )
Protected Overridable Function CreateProperty ( _ member As MemberInfo, _ memberSerialization As MemberSerialization _ ) As JsonProperty
protected: virtual JsonProperty^ CreateProperty( MemberInfo^ member, MemberSerialization memberSerialization )
Parameters
- member (MemberInfo)
- The member to create a JsonProperty for.
- memberSerialization (MemberSerialization)
- The member's parent MemberSerialization.
Return Value
A created JsonProperty for the given MemberInfo.