protected virtual void WriteComment(IJsonWriter writer, object value) { if (value != null && this.Config.OutputTypeComment) { string comment = ""; comment += "/*" + "\r\n"; comment += " Created by JsonExSerializer" + "\r\n"; comment += " Assembly: " + value.GetType().Assembly.ToString() + "\r\n"; comment += " Type: " + value.GetType().FullName + "\r\n"; comment += "*/" + "\r\n"; writer.WriteComment(comment); } }