Click or drag to resize
Json.NET

IReferenceResolverGetReference Method

 
Gets the reference for the specified object.

Namespace:  Newtonsoft.Json.Serialization
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
string GetReference(
	Object context,
	Object value
)

Parameters

context
Type: SystemObject
The serialization context.
value
Type: SystemObject
The object to get a reference for.

Return Value

Type: String
The reference to the object.
See Also