We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fecd869 commit 6d2e1f5Copy full SHA for 6d2e1f5
source/includes/data-formats/time-series.kt
@@ -28,9 +28,10 @@ fun main() {
28
29
// start-print-time-series
30
val results = database.listCollections()
31
+ val jsonSettings = JsonWriterSettings.builder().indent(true).build()
32
33
results.forEach { result ->
- println(result.toJson(JsonWriterSettings.builder().indent(true).build()))
34
+ println(result.toJson(jsonSettings))
35
}
36
// end-print-time-series
37
0 commit comments