value::number 方法

创建数字值

static _ASYNCRTIMP value __cdecl number(
   double value
);

static _ASYNCRTIMP value __cdecl number(
   int32_t value
);

参数

  • value
    创建 JSON 值的 C++ 值

返回值

JSON 数字值

要求

**标头:**json.h

**命名空间:**web::json

请参见

参考

value 类