Return a bdljsn::Json object from the specified JSON literal text.
Declared in <bdljsn_jsonliterals.h>
bdljsn::Json
operator""_json(
char const* text,
std::size_t numBytes);
Return a bdljsn::Json object having the value of the JSON described in the specified text of the specified numBytes. If text is not a valid JSON document then invoke the currently installed bsls::Assert failure handler.
a bdljsn::Json object having the value of the JSON in text
| Name | Description |
|---|---|
| text | JSON text of the literal |
| numBytes | length of text in bytes |