File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -101,9 +101,10 @@ trait HeadZOut { ignored: HeadZ =>
101
101
// ---------------------------------------------------------------------------
102
102
def printString () = { printJsonLines }
103
103
104
- def printJsonl () = { printJsonLines }
105
- def printJsonLines () = { write(_.stdout.jsonLines); () }
106
- def printJsonArray () = { write(_.stdout.jsonArray); () }
104
+ def printJsonl () = { printJsonLines }
105
+ def printJsonLines () = { write(_.stdout.jsonLines) ; () }
106
+ def printJsonArray () = { write(_.stdout.jsonArray) ; () }
107
+ def printPrettyJsons () = { write(_.stdout.prettyJsons); () }
107
108
108
109
// ---------------------------------------------------------------------------
109
110
def printTable () = { write(_.stdout.tsv); () }
Original file line number Diff line number Diff line change @@ -83,8 +83,10 @@ class OtherFluencyU(outlet: OutletType) extends EndWriteUFluency {
83
83
// TODO: t210104111151 - offer to write JSON array as one-liner (though we want to discourage its use)?
84
84
def jsonl = jsonLines
85
85
86
- def jsonLines = endOtherZ(IoTypeZ .JsonLines , outlet)
87
- def jsonArray = endOtherZ(IoTypeZ .JsonArray , outlet)
86
+ def jsonLines = endOtherZ(IoTypeZ .JsonLines , outlet)
87
+ def jsonArray = endOtherZ(IoTypeZ .JsonArray , outlet)
88
+
89
+ def prettyJsons = endOtherZ(IoTypeZ .JsonPrettyLines , outlet)
88
90
89
91
// ---------------------------------------------------------------------------
90
92
def table (sep : Char ): OtherTableFluency = new OtherTableFluency (OtherTableConf (outlet).sep(sep))
You can’t perform that action at this time.
0 commit comments