besom.json
Members list
Type members
Classlikes
Provides additional JsonFormats and helpers
Provides additional JsonFormats and helpers
Attributes
- Supertypes
- Known subtypes
Provides the JsonFormats for the most important Scala types.
Provides the JsonFormats for the most important Scala types.
Attributes
- Supertypes
- Known subtypes
Attributes
- Supertypes
- Known subtypes
A JsonPrinter that produces compact JSON source without any superfluous whitespace.
A JsonPrinter that produces compact JSON source without any superfluous whitespace.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object CompactPrinter.type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
CompactPrinter.type
Provides all the predefined JsonFormats.
Provides all the predefined JsonFormats.
Attributes
- Companion
- object
- Supertypes
-
trait JsonProtocoltrait AdditionalFormatstrait ProductFormatstrait CollectionFormatstrait StandardFormatstrait BasicFormatsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object DefaultJsonProtocol.type
Attributes
- Companion
- trait
- Supertypes
-
trait DefaultJsonProtocoltrait JsonProtocoltrait AdditionalFormatstrait ProductFormatstrait CollectionFormatstrait StandardFormatstrait BasicFormatsclass Objecttrait Matchableclass AnyShow all
- Self type
-
DefaultJsonProtocol.type
Attributes
- Supertypes
-
trait Producttrait Equalsclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Provides the JSON deserialization and serialization for type T.
Provides the JSON deserialization and serialization for type T.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object JsValueFormat.typeobject BigDecimalJsonFormat.typeobject BigIntJsonFormat.typeobject BooleanJsonFormat.typeobject ByteJsonFormat.typeobject CharJsonFormat.typeobject DoubleJsonFormat.typeobject FloatJsonFormat.typeobject IntJsonFormat.typeobject LongJsonFormat.typeobject ShortJsonFormat.typeobject StringJsonFormat.typeobject SymbolJsonFormat.typeobject UnitJsonFormat.typeclass OptionFormat[T]trait RootJsonFormat[T]object RootJsArrayFormat.typeobject RootJsObjectFormat.typeShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
JsonFormat.type
Fast, no-dependency parser for JSON as defined by http://tools.ietf.org/html/rfc4627.
Fast, no-dependency parser for JSON as defined by http://tools.ietf.org/html/rfc4627.
Attributes
- Companion
- class
- Supertypes
- Self type
-
JsonParser.type
Allows to customize settings for the JSON parser.
Allows to customize settings for the JSON parser.
Use it like this:
val customSettings =
JsonParserSettings.default
.withMaxDepth(100)
.withMaxNumberCharacters(20)
JsonParser(jsonString, customSettings)
// or
jsonString.parseJson(customSettings)
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- trait
- Supertypes
- Self type
-
JsonParserSettings.type
A JsonPrinter serializes a JSON AST to a String.
A JsonPrinter serializes a JSON AST to a String.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait CompactPrinterobject CompactPrinter.typetrait PrettyPrinterobject PrettyPrinter.typetrait SortedPrinterobject SortedPrinter.typeShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
JsonPrinter.type
Attributes
- Supertypes
-
trait AdditionalFormatstrait ProductFormatstrait CollectionFormatstrait StandardFormatstrait BasicFormatsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait DefaultJsonProtocolobject DefaultJsonProtocol.type
Provides the JSON deserialization for type T.
Provides the JSON deserialization for type T.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait JsonFormat[T]object JsValueFormat.typeobject BigDecimalJsonFormat.typeobject BigIntJsonFormat.typeobject BooleanJsonFormat.typeobject ByteJsonFormat.typeobject CharJsonFormat.typeobject DoubleJsonFormat.typeobject FloatJsonFormat.typeobject IntJsonFormat.typeobject LongJsonFormat.typeobject ShortJsonFormat.typeobject StringJsonFormat.typeobject SymbolJsonFormat.typeobject UnitJsonFormat.typeclass OptionFormat[T]trait RootJsonFormat[T]object RootJsArrayFormat.typeobject RootJsObjectFormat.typetrait RootJsonReader[T]Show all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
JsonReader.type
Provides the JSON serialization for type T.
Provides the JSON serialization for type T.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait JsonFormat[T]object JsValueFormat.typeobject BigDecimalJsonFormat.typeobject BigIntJsonFormat.typeobject BooleanJsonFormat.typeobject ByteJsonFormat.typeobject CharJsonFormat.typeobject DoubleJsonFormat.typeobject FloatJsonFormat.typeobject IntJsonFormat.typeobject LongJsonFormat.typeobject ShortJsonFormat.typeobject StringJsonFormat.typeobject SymbolJsonFormat.typeobject UnitJsonFormat.typeclass OptionFormat[T]trait RootJsonFormat[T]object RootJsArrayFormat.typeobject RootJsObjectFormat.typetrait RootJsonWriter[T]Show all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
JsonWriter.type
This trait supplies an alternative rendering mode for optional case class members. Normally optional members that are undefined (None
) are not rendered at all. By mixing in this trait into your custom JsonProtocol you can enforce the rendering of undefined members as null
. (Note that this only affect JSON writing, besom-json will always read missing optional members as well as null
optional members as None
.)
This trait supplies an alternative rendering mode for optional case class members. Normally optional members that are undefined (None
) are not rendered at all. By mixing in this trait into your custom JsonProtocol you can enforce the rendering of undefined members as null
. (Note that this only affect JSON writing, besom-json will always read missing optional members as well as null
optional members as None
.)
Attributes
- Supertypes
- Self type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
- Self type
-
ParserInput.type
A JsonPrinter that produces a nicely readable JSON source.
A JsonPrinter that produces a nicely readable JSON source.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
- Self type
-
PrettyPrinter.type
Attributes
- Supertypes
- Known subtypes
- Self type
Attributes
- Supertypes
- Self type
-
ProductFormatsMacro.type
A special JsonFormat signaling that the format produces a legal JSON root object, i.e. either a JSON array or a JSON object.
A special JsonFormat signaling that the format produces a legal JSON root object, i.e. either a JSON array or a JSON object.
Attributes
- Supertypes
-
trait RootJsonWriter[T]trait RootJsonReader[T]trait JsonFormat[T]trait JsonWriter[T]trait JsonReader[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object RootJsArrayFormat.typeobject RootJsObjectFormat.type
A special JsonReader capable of reading a legal JSON root object, i.e. either a JSON array or a JSON object.
A special JsonReader capable of reading a legal JSON root object, i.e. either a JSON array or a JSON object.
Attributes
- Supertypes
- Known subtypes
A special JsonWriter capable of writing a legal JSON root object, i.e. either a JSON array or a JSON object.
A special JsonWriter capable of writing a legal JSON root object, i.e. either a JSON array or a JSON object.
Attributes
- Supertypes
- Known subtypes
Attributes
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object SortedPrinter.type
Attributes
- Companion
- trait
- Supertypes
-
trait SortedPrintertrait PrettyPrintertrait JsonPrinterclass Objecttrait Matchableclass AnyShow all
- Self type
-
SortedPrinter.type
Provides the JsonFormats for the non-collection standard types.
Provides the JsonFormats for the non-collection standard types.
Attributes
- Supertypes
- Known subtypes
- Self type