/// <summary> /// EDITOR ONLY - For internal use /// </summary> /// <param name="token">The token this properies object is hosted by</param> /// <returns>A JSON string suitable for the Create Token Defintion API call</returns> /// <remarks> /// <para> /// This is an internal helper method to construct a JSON string suitable for use with the Create Token Defition API call /// </para> /// </remarks> public override string ToJsonDef(TokenDefinition token) { TokenDefinition <T> nDef = token as TokenDefinition <T>; nDef.properties = data; return(nDef.ToJson()); }