Skip to content

JsonAllowPrivateSetterAttribute Class ​

Definition ​

Allows setting a Class or Property for Json Deserialization with a private or internal setter

  • Namespace: JASE.Attributes
  • Assembly: JASE.Serializers.dll

Constructors ​

NameDescription
JsonAllowPrivateSetterAttribute(bool allowRead = null, bool allowWrite = null)Default constructor allowing both Read and Write by default

Properties ​

NameDescription
AllowReadAllow JSON Serializer to read private/internal properties
AllowWriteAllow JSON Serializer to write private/internal properties