Lines Matching refs:node
28 bool JSONWriter::Write(const Value& node, std::string* json) {
29 return WriteWithOptions(node, 0, json);
33 bool JSONWriter::WriteWithOptions(const Value& node,
41 bool result = writer.BuildJSONString(node, 0U);
56 bool JSONWriter::BuildJSONString(const Value& node, size_t depth) {
57 switch (node.type()) {
65 bool result = node.GetAsBoolean(&value);
73 bool result = node.GetAsInteger(&value);
81 bool result = node.GetAsString(&value);
94 bool result = node.GetAsList(&list);
125 bool result = node.GetAsDictionary(&dict);