Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Converters
BsonObjectIdConverter Class
BsonObjectIdConverter Methods
CanConvert Method
ReadJson Method
WriteJson Method
BsonObjectIdConverter
WriteJson Method
Writes the JSON representation of the object.
Namespace:
Newtonsoft.Json.Converters
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
override
void
WriteJson
(
JsonWriter
writer
,
Object
value
,
JsonSerializer
serializer
)
Parameters
writer
Type:
Newtonsoft.Json
JsonWriter
The
JsonWriter
to write to.
value
Type:
System
Object
The value.
serializer
Type:
Newtonsoft.Json
JsonSerializer
The calling serializer.
See Also
Reference
BsonObjectIdConverter Class
Newtonsoft.Json.Converters Namespace
Json.NET Home