Click or drag to resize
JsonHelperEncodeValue Method (Object, Boolean)
编码一个值,仅支持基础数据类型

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public static string EncodeValue(
	Object value,
	bool hex = true
)

Parameters

value
Type: SystemObject

[Missing <param name="value"/> documentation for "M:Adf.JsonHelper.EncodeValue(System.Object,System.Boolean)"]

hex (Optional)
Type: SystemBoolean

[Missing <param name="hex"/> documentation for "M:Adf.JsonHelper.EncodeValue(System.Object,System.Boolean)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Adf.JsonHelper.EncodeValue(System.Object,System.Boolean)"]

See Also