压缩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
)
Public Function Compress (
strJson As String,
propertyDictionary As IDictionary(Of String, String),
bSequenceSTR As Boolean,
iFilterNameLength As Integer
) As String
public:
String^ Compress(
String^ strJson,
IDictionary<String^, String^>^ propertyDictionary,
bool bSequenceSTR,
int iFilterNameLength
)
member Compress :
strJson : string *
propertyDictionary : IDictionary<string, string> *
bSequenceSTR : bool *
iFilterNameLength : int -> string
参数
- strJson
- 类型: SystemString
JSON字符串 - propertyDictionary
- 类型: System.Collections.GenericIDictionaryString, String
出入传出属性字典。如果该参数为空或是不完全,建议将bSequenceSTR=true - bSequenceSTR
- 类型: SystemBoolean
使用STR队列生成随机数,不填写则跳过。建议为TRUE - iFilterNameLength
- 类型: SystemInt32
过滤的属性名称长度(小于等于)。建议值:2
返回值
类型:
String压缩后的JSON
参见