mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-12 02:08:49 +00:00
basically the same functionality as the old nak.
This commit is contained in:
18
src/main/scala/Utils.scala
Normal file
18
src/main/scala/Utils.scala
Normal file
@@ -0,0 +1,18 @@
|
||||
import io.circe.Printer
|
||||
|
||||
object Utils {
|
||||
val jsonPrinter = Printer(
|
||||
dropNullValues = false,
|
||||
indent = " ",
|
||||
lbraceRight = "\n",
|
||||
rbraceLeft = "\n",
|
||||
lbracketRight = "\n",
|
||||
rbracketLeft = "\n",
|
||||
lrbracketsEmpty = "",
|
||||
arrayCommaRight = "\n",
|
||||
objectCommaRight = "\n",
|
||||
colonLeft = "",
|
||||
colonRight = " ",
|
||||
sortKeys = true
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user