JsonSerializable.toString 方法

定义

重载

toString()

Gets Simple String representation of property bag.

For proper conversion to json and inclusion of the default values use toJson().

toString(int indentFactor)

Gets formatted String representation of property bag.

<xreftitle>Deprecated</xreftitle>

<xrefdescription>

  <p>For proper conversion to json and inclusion of the default values use <xref uid="com.microsoft.azure.documentdb.JsonSerializable.toJson(SerializationFormattingPolicy)" data-throw-if-not-resolved="false" data-raw-source="toJson(SerializationFormattingPolicy)"></xref>.</p>

</xrefdescription>

toString()

Gets Simple String representation of property bag.

For proper conversion to json and inclusion of the default values use toJson().

public String toString()

返回

String

string representation of property bag.

toString(int indentFactor)

Gets formatted String representation of property bag.

<xreftitle>Deprecated</xreftitle>

<xrefdescription>

  <p>For proper conversion to json and inclusion of the default values use <xref uid="com.microsoft.azure.documentdb.JsonSerializable.toJson(SerializationFormattingPolicy)" data-throw-if-not-resolved="false" data-raw-source="toJson(SerializationFormattingPolicy)"></xref>.</p>

</xrefdescription>

public String toString(int indentFactor)

参数

indentFactor
int

formatting indentation factor.

返回

String

formatted string representation of property bag.

适用于