/// <summary>Gets write function.</summary> /// <typeparam name="T">Generic type parameter.</typeparam> /// <returns>The write function.</returns> public WriteObjectDelegate GetWriteFn <T>() { return(JsvWriter <T> .WriteFn()); }
/// <summary>Gets write function.</summary> /// <param name="type">The type.</param> /// <returns>The write function.</returns> public WriteObjectDelegate GetWriteFn(Type type) { return(JsvWriter.GetWriteFn(type)); }
/// <summary>Serialize to writer.</summary> /// <param name="value"> The value.</param> /// <param name="writer">The writer.</param> public void SerializeToWriter(T value, TextWriter writer) { JsvWriter <T> .WriteObject(writer, value); }