点击或拖拽改变大小

JsonCompressCompress 方法

压缩JSON

命名空间:  GISShare.Json
程序集:  GISShare.Json (在 GISShare.Json.dll 中) 版本:1.0.0.1 (1.0.0.1)
语法
public string Compress(
	string strJson,
	IDictionary<string, string> propertyDictionary,
	bool bSequenceSTR,
	int iFilterNameLength
)

参数

strJson
类型: SystemString
JSON字符串
propertyDictionary
类型: System.Collections.GenericIDictionaryString, String
出入传出属性字典。如果该参数为空或是不完全,建议将bSequenceSTR=true
bSequenceSTR
类型: SystemBoolean
使用STR队列生成随机数,不填写则跳过。建议为TRUE
iFilterNameLength
类型: SystemInt32
过滤的属性名称长度(小于等于)。建议值:2

返回值

类型: String
压缩后的JSON
参见