Create a Json object having the type JsonNumber and the specified value. Optionally specify the basicAllocator used to supply memory. If basicAllocator is not specified, the currently installed default allocator is used to supply memory.
Declared in <bdljsn_json.h>
explicit
Json(
float value,
bslma::Allocator* basicAllocator = 0);