Table of Contents

Class JsonRootPropertyAttribute

Namespace
BotManager.Runtime
Assembly
BotManager.Runtime.dll

Add this attribute to a property in your serializable class, if the property is it's only property . If this is present in a class, the json object with the property list is skipped and only the value of this property is returned. You will still need a JsonConverter.

[AttributeUsage(AttributeTargets.Property)]
public class JsonRootPropertyAttribute : Attribute
Inheritance
JsonRootPropertyAttribute
Inherited Members

Constructors

JsonRootPropertyAttribute()

public JsonRootPropertyAttribute()