Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
As was shown previously, generic conversions provided by the library forward contexts to conversions of nested objects. And in the case when you want to provide your own conversion function for a composite type enabled by a particular context, you usually also need to do that.如前所示,库提供的通用转换会将上下文传递给嵌套对象的转换函数。因此,当您希望为特定上下文启用的某个复合类型提供自己的转换函数时,通常也需要这样做