Home
last modified time | relevance | path

Searched refs:JSONParser (Results 1 – 7 of 7) sorted by relevance

/third_party/gn/src/base/json/
Djson_parser.cc56 JSONParser::JSONParser(int options, int max_depth) in JSONParser() function in base::internal::JSONParser
69 JSONParser::~JSONParser() = default;
71 std::optional<Value> JSONParser::Parse(std::string_view input) { in Parse()
107 JSONReader::JsonParseError JSONParser::error_code() const { in error_code()
111 std::string JSONParser::GetErrorMessage() const { in GetErrorMessage()
116 int JSONParser::error_line() const { in error_line()
120 int JSONParser::error_column() const { in error_column()
126 JSONParser::StringBuilder::StringBuilder() : StringBuilder(nullptr) {} in StringBuilder()
128 JSONParser::StringBuilder::StringBuilder(const char* pos) in StringBuilder()
131 JSONParser::StringBuilder::~StringBuilder() = default;
[all …]
Djson_parser.h42 class JSONParser {
44 JSONParser(int options, int max_depth = JSONReader::kStackMaxDepth);
45 ~JSONParser();
250 JSONParser(const JSONParser&) = delete;
251 JSONParser& operator=(const JSONParser&) = delete;
Djson_reader.cc38 : parser_(new internal::JSONParser(options, max_depth)) {} in JSONReader()
46 internal::JSONParser parser(options, max_depth); in Read()
59 internal::JSONParser parser(options); in ReadAndReturnError()
Djson_reader.h40 class JSONParser; variable
128 std::unique_ptr<internal::JSONParser> parser_;
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
DJSONTest.kt31 val parser = JSONParser() in parse2Test()
55 val root = JSONParser().parse(ArrayReadWriteBuffer(data, writePosition = data.size)) in parseSample()
92 val parser = JSONParser() in testDoubles()
115 val parser = JSONParser() in testInts()
133 val parser = JSONParser() in testBooleansAndNull()
152 val parser = JSONParser() in testStrings()
225 val parser = JSONParser() in testUnicode()
260 val parser = JSONParser() in testArrays()
346 JSONParser().parse(ArrayReadBuffer(data.encodeToByteArray())) in testParseMustFail()
424 JSONParser().parse(ArrayReadBuffer(data.encodeToByteArray())) in testParseMustPass()
/third_party/flatbuffers/kotlin/benchmark/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/benchmark/
DJsonBenchmark.kt19 import com.google.flatbuffers.kotlin.JSONParser
54 val fbParser = JSONParser()
60 val fbCitmRef = JSONParser().parse(ArrayReadBuffer(citmData))
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DJSON.kt114 public class JSONParser(public var output: FlexBuffersBuilder = FlexBuffersBuilder(1024, SHARE_KEYS… class