adding support for --wrapScalar=false in properties encoder (#1241)

* adding support for --wrapScalar=false in properties encoder

* altering encoder and decoder tests somewhat

* adding .idea

* Revert "altering encoder and decoder tests somewhat"

This reverts commit e3655130e2.

* adding test scenario for encoding with wrapped scalars
This commit is contained in:
Daniel Carbone
2022-06-25 12:22:03 +10:00
committed by GitHub
parent 06d2aaad80
commit 98b411f82e
9 changed files with 232 additions and 79 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ func configureEncoder(format PrinterOutputFormat, indent int) Encoder {
case JSONOutputFormat:
return NewJONEncoder(indent, false)
case PropsOutputFormat:
return NewPropertiesEncoder()
return NewPropertiesEncoder(true)
case CSVOutputFormat:
return NewCsvEncoder(',')
case TSVOutputFormat: