object JSONFormat
This object defines functions that are used when converting JSONType values into String representations. Mostly this is concerned with proper quoting of strings.
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.6) Use The Scala Library Index to find alternatives: https://index.scala-lang.org/
- Source
- Parser.scala
- Alphabetic
- By Inheritance
- JSONFormat
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
val
defaultFormatter: ValueFormatter
The default formatter used by the library.
The default formatter used by the library. You can provide your own with the toString calls on JSONObject and JSONArray instances.
-
def
quoteString(s: String): String
This function can be used to properly quote Strings for JSON output.