Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Commented Issue: Missing constructor for 64-bit number in json [351]

$
0
0
One bit of the puzzle to integrate 64-bit numbers in JSON seems to be missing. You only provide the following methods to create numbers:


```
static _ASYNCRTIMP value __cdecl number(double value);
static _ASYNCRTIMP value __cdecl number(int32_t value);
```

Obviously one of the missing static method would look like this:

```
web::json::value web::json::value::number(int64_t value)
{
return web::json::value(value);
}
```

Comments: Added in the development branch, will be in release 2.6.0. Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>