Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
To go from JSON to a user-defined type we use <<ref_value_to>>, which uses another overload of `tag_invoke`. This converts a JSON value to a `customer`. It throws an exception if the contents of the value do not match what is expected:为将 JSON 转换为用户定义类型,我们使用 <<ref_value_to>>(它会调用 `tag_invoke` 的另一个重载)。此操作将 JSON 值转换为 `customer`。若值内容不符合预期,则抛出异常:</ref_value_to>