Index: runtime/vm/json_stream.cc |
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc |
index dd2a04c8b42852697353034de0a2ed2299c29752..9f942053c99ed197c36a59a3a9371438e0cae18a 100644 |
--- a/runtime/vm/json_stream.cc |
+++ b/runtime/vm/json_stream.cc |
@@ -310,6 +310,11 @@ void JSONStream::CloseArray() { |
} |
+void JSONStream::PrintValueNull() { |
+ PrintCommaIfNeeded(); |
+ buffer_.Printf("null"); |
+} |
+ |
void JSONStream::PrintValueBool(bool b) { |
PrintCommaIfNeeded(); |
buffer_.Printf("%s", b ? "true" : "false"); |