Lines Matching defs:json
14 #include "../../third_party/inspector_protocol/crdtp/json.h"
21 using v8_crdtp::json::ConvertCBORToJSON;
22 using v8_crdtp::json::ConvertJSONToCBOR;
131 V8StackTraceId::V8StackTraceId(StringView json)
133 if (json.length() == 0) return;
135 if (json.is8Bit()) {
137 v8_crdtp::span<uint8_t>(json.characters8(), json.length()), &cbor);
140 v8_crdtp::span<uint16_t>(json.characters16(), json.length()), &cbor);
166 std::vector<uint8_t> json;
167 v8_crdtp::json::ConvertCBORToJSON(v8_crdtp::SpanFrom(dict->Serialize()),
168 &json);
169 return StringBufferFrom(std::move(json));