Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

AValue..::..ToString Method (Formatting, array<JsonConverter>[]()[][])

Returns the JSON string for Value using the given formatting and converters only if Value is a JToken. Otherwise the ToString of Value.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public string ToString(
	Formatting formatting,
	params JsonConverter[] converters
)

Parameters

formatting
Type: Formatting
Indicates how the output should be formatted.
converters
Type: array<JsonConverter>[]()[][]
A collection of JsonConverters which will be used when writing the token.

Return Value

The JSON string or the ToString of Value