JsonDeserializeGlobalValueFormatDelegate 委托 |
对Model进行Json反序列化时全局值格式化器
Global value formatter for Json deserialization of Model
命名空间:
CPF.Windows.Json
程序集:
CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法 public delegate Object JsonDeserializeGlobalValueFormatDelegate(
string jsonFragment,
Type elementType,
JsonDeserializeHandler jsonDeserializeHandler,
out bool isValueFormat
)
参数
- jsonFragment
- 类型:SystemString
Json字符串中的片段,Fragments in the Json string - elementType
- 类型:SystemType
该jsonFragment所对应的类型,The type corresponding to the jsonFragment - jsonDeserializeHandler
- 类型:CPF.Windows.JsonJsonDeserializeHandler
提供一些选项进行访问,Provides options for access - isValueFormat
- 类型:SystemBoolean
决定最终是否进行值格式化,Determines whether the value is ultimately formatted
返回值
类型:
Object参见