internal static JsonWriterException Create(JsonWriter writer, string message, Exception ex)
 {
   return Create(writer.ContainerPath, message, ex);
 }
Beispiel #2
0
 /// <summary>
 /// Writes the JSON representation of the object.
 /// </summary>
 /// <param name="writer">The <see cref="JsonWriter"/> to write to.</param>
 /// <param name="value">The value.</param>
 /// <param name="serializer">The calling serializer.</param>
 public abstract void WriteJson(JsonWriter writer, object value, JsonSerializer serializer);