Index: runtime/vm/json_stream.cc |
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc |
index 0477bb48b78124206191ece696510a897d14ec91..dd2a04c8b42852697353034de0a2ed2299c29752 100644 |
--- a/runtime/vm/json_stream.cc |
+++ b/runtime/vm/json_stream.cc |
@@ -263,6 +263,13 @@ void JSONStream::ComputeOffsetAndCount(intptr_t length, |
} |
} |
+ |
+void JSONStream::AppendSerializedObject(const char* serialized_object) { |
+ PrintCommaIfNeeded(); |
+ buffer_.AddString(serialized_object); |
+} |
+ |
+ |
void JSONStream::Clear() { |
buffer_.Clear(); |
open_objects_ = 0; |