Share via


value::number Method

Creates a number value

static _ASYNCRTIMP value __cdecl number(
   double value
);

static _ASYNCRTIMP value __cdecl number(
   int32_t value
);

Parameters

  • value
    The C++ value to create a JSON value from

Return Value

A JSON number value

Requirements

Header: json.h

Namespace: web::json

See Also

Reference

value Class