Home
last modified time | relevance | path

Searched refs:JsonObjectWriter (Results 1 – 4 of 4) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/internal/
Djson_objectwriter.cc49 JsonObjectWriter::~JsonObjectWriter() { in ~JsonObjectWriter()
55 JsonObjectWriter* JsonObjectWriter::StartObject(StringPiece name) { in StartObject()
62 JsonObjectWriter* JsonObjectWriter::EndObject() { in EndObject()
69 JsonObjectWriter* JsonObjectWriter::StartList(StringPiece name) { in StartList()
76 JsonObjectWriter* JsonObjectWriter::EndList() { in EndList()
83 JsonObjectWriter* JsonObjectWriter::RenderBool(StringPiece name, in RenderBool()
88 JsonObjectWriter* JsonObjectWriter::RenderInt32(StringPiece name, in RenderInt32()
93 JsonObjectWriter* JsonObjectWriter::RenderUint32(StringPiece name, in RenderUint32()
98 JsonObjectWriter* JsonObjectWriter::RenderInt64(StringPiece name, in RenderInt64()
107 JsonObjectWriter* JsonObjectWriter::RenderUint64(StringPiece name, in RenderUint64()
[all …]
Djson_objectwriter.h90 class PROTOBUF_EXPORT JsonObjectWriter : public StructuredObjectWriter {
92 JsonObjectWriter(StringPiece indent_string, io::CodedOutputStream* out) in JsonObjectWriter() function
113 virtual ~JsonObjectWriter();
116 JsonObjectWriter* StartObject(StringPiece name) override;
117 JsonObjectWriter* EndObject() override;
118 JsonObjectWriter* StartList(StringPiece name) override;
119 JsonObjectWriter* EndList() override;
120 JsonObjectWriter* RenderBool(StringPiece name, bool value) override;
121 JsonObjectWriter* RenderInt32(StringPiece name, int32 value) override;
122 JsonObjectWriter* RenderUint32(StringPiece name, uint32 value) override;
[all …]
Djson_objectwriter_test.cc63 JsonObjectWriter* ow_;
67 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
73 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
83 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
89 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
99 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
105 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
115 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
125 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
135 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
[all …]
/third_party/protobuf/src/google/protobuf/util/
Djson_util.cc97 converter::JsonObjectWriter json_writer(options.add_whitespace ? " " : "", in BinaryToJsonStream()