Class fsPropertyAttribute
Explicitly mark a property to be serialized. This can also be used to give the name that the property should use during serialization.
Inherited Members
Namespace: Unity.VisualScripting .FullSerializer
Assembly: Unity.VisualScripting.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class fsPropertyAttribute : Attribute
Constructors
fsPropertyAttribute()
Declaration
public fsPropertyAttribute()
fsPropertyAttribute(string)
Declaration
public fsPropertyAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
Fields
Converter
Use a custom converter for the given type. Specify the converter to use using typeof.
Declaration
public Type Converter
Field Value
Type | Description |
---|---|
Type |
Name
The name of that the property will use in JSON serialization.
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |