OneDriveJsonProtocol

com.github.cloudfiles.onedrive.OneDriveJsonProtocol
object OneDriveJsonProtocol extends DefaultJsonProtocol

A module defining data classes that correspond to the OneDrive REST API as described at https://docs.microsoft.com/en-us/onedrive/developer/rest-api/?view=odsp-graph-online.

The OneDrive REST API uses JSON as data exchange format. The classes defined here are used to read and write JSON to and from Scala objects.

In addition, the module defines converters for these data classes to enable a proper JSON serialization. They are available as implicits, which must be available in the current scope to make the conversion to and from JSON possible.

Attributes

Graph
Supertypes
trait DefaultJsonProtocol
trait AdditionalFormats
trait ProductFormats
trait ProductFormatsInstances
trait CollectionFormats
trait StandardFormats
trait BasicFormats
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

case class DriveItem(id: String, createdBy: IdentitySet, createdDateTime: Instant, lastModifiedBy: IdentitySet, lastModifiedDateTime: Instant, name: String, description: Option[String], size: Long, webUrl: String, file: Option[File], folder: Option[Folder], fileSystemInfo: FileSystemInfo, parentReference: Option[ItemReference], shared: Option[Shared], specialFolder: Option[SpecialFolder])

A data class representing a drive item.

A data class representing a drive item.

Depending on the item type, specific facets are present or not. Whether the item is a file or a folder is determined by the presence or absence of the ''file'' and ''folder'' facets. Special folders are indicated by the presence of the SpecialFolder facet.

Many of these properties are read-only and are set by OneDrive.

Value parameters

createdBy

identity of the actor that created this item

createdDateTime

the time when this item was created

description

a description of this item

file

a facet with file-related information

fileSystemInfo

local file system information

folder

a facet with folder-related information

id

the ID of this item

lastModifiedBy

identity of the actor that modified this item

lastModifiedDateTime

the time of the last modification

name

the name of this item

parentReference

the reference to the parent item

shared

information about the sharing state

size

the size of this item

specialFolder

a facet to indicate a special folder

webUrl

the URL to display this item in a browser

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class File(mimeType: String, hashes: Hashes)

A data class representing file information. Drive items of type file contain this structure.

A data class representing file information. Drive items of type file contain this structure.

Value parameters

hashes

a structure with hashes of the file's content

mimeType

the auto-discovered mime type

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FileSystemInfo(createdDateTime: Instant, lastModifiedDateTime: Instant, lastAccessedDateTime: Option[Instant])

A data class storing information related to the local file system of this drive item. In contrast to similar properties of the drive item structure, this data is independent on operations done via OneDrive. It can be updated by applications.

A data class storing information related to the local file system of this drive item. In contrast to similar properties of the drive item structure, this data is independent on operations done via OneDrive. It can be updated by applications.

Value parameters

createdDateTime

the time of creation

lastAccessedDateTime

the time of the last access (in recent file list only)

lastModifiedDateTime

the time of the last modification

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Folder(childCount: Int)

A data class representing information about a folder. Drive items of type folder contain this structure.

A data class representing information about a folder. Drive items of type folder contain this structure.

Value parameters

childCount

the number of children of this folder

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FolderResponse(value: List[DriveItem], nextLink: Option[String])

A data class representing the OneDrive JSON response for a folder request. Here we are only interested in the list with the child items of the current folder. For large folders, the content is distributed over multiple pages. In this case, a link for the next page is available.

A data class representing the OneDrive JSON response for a folder request. Here we are only interested in the list with the child items of the current folder. For large folders, the content is distributed over multiple pages. In this case, a link for the next page is available.

Value parameters

nextLink

an optional link to the next page

value

a list with the child items of this folder

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Hashes(crc32Hash: Option[String], sha1Hash: Option[String], quickXorHash: Option[String])

A data class defining several hash values for files. An instance of this class is part of a OneDrive item that is a file.

A data class defining several hash values for files. An instance of this class is part of a OneDrive item that is a file.

Value parameters

crc32Hash

CRC32 checksum as hex string

quickXorHash

quick XOR hash as Base64-encoded string

sha1Hash

SHA1 hash as hex string

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Identity(id: String, displayName: Option[String])

A data class representing an identity. This is used to store information about actors that did something with drive items.

A data class representing an identity. This is used to store information about actors that did something with drive items.

Value parameters

displayName

a human-readable name of this identity

id

the ID of this identity

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class IdentitySet(application: Option[Identity], device: Option[Identity], group: Option[Identity], user: Option[Identity])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object InstantFormat extends JsonFormat[Instant]

A format implementation to deal with date-time values. OneDrive uses the default ISO format that can be parsed by the ''Instant'' class. Therefore, this implementation is straight-forward.

A format implementation to deal with date-time values. OneDrive uses the default ISO format that can be parsed by the ''Instant'' class. Therefore, this implementation is straight-forward.

Attributes

Supertypes
trait JsonFormat[Instant]
trait JsonWriter[Instant]
trait JsonReader[Instant]
class Object
trait Matchable
class Any
Show all
Self type
case class ItemReference(id: String, driveId: String, driveType: String, listId: Option[String], name: Option[String], path: Option[String], shareId: Option[String], siteId: Option[String])

A data class representing a reference to another drive item.

A data class representing a reference to another drive item.

Value parameters

driveId

the target drive ID

driveType

the type of the drive

id

the target ID

listId

list ID

name

the name of the target item

path

the path of the target item

shareId

ID of a shared resource

siteId

identifier of the site

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MarkerProperty(optValue: Option[String])

A data class used to generate an empty marker object in a JSON request. Such empty objects are needed for some use cases in OneDrive, e.g. to mark an item as a folder or a file. The intended usage is to have the optional property of an instance always be ''None'', so that no properties are generated.

A data class used to generate an empty marker object in a JSON request. Such empty objects are needed for some use cases in OneDrive, e.g. to mark an item as a folder or a file. The intended usage is to have the optional property of an instance always be ''None'', so that no properties are generated.

Value parameters

optValue

the value, which typically should be undefined

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ResolveResponse(id: String)

A data class representing the response from the OneDrive server for a request to resolve a drive element.

A data class representing the response from the OneDrive server for a request to resolve a drive element.

Value parameters

id

the ID that has been resolved

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Shared(owner: IdentitySet, scope: String, sharedBy: IdentitySet, sharedDateTime: Instant)

A data class holding information about a drive item that has been shared.

A data class holding information about a drive item that has been shared.

Value parameters

owner

identity of the owner of the item

scope

the scope how the item is shared

sharedBy

the identity of the user who shared the item

sharedDateTime

the time when the item was shared

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SpecialFolder(name: String)

A data class describing a special folder. This information is available for drive items if they represent one of the special folders.

A data class describing a special folder. This information is available for drive items if they represent one of the special folders.

Value parameters

name

the name of this special folder

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UploadChunkResponse(id: Option[String])

A data class to represent the response of a request to upload a chunk of a file. The upload response is different for the first chunks and the last chunk. For the last chunk, a ''DriveItem'' representation is sent, but we are only interested in the ID. The previous responses are irrelevant, so they are just ignored.

A data class to represent the response of a request to upload a chunk of a file. The upload response is different for the first chunks and the last chunk. For the last chunk, a ''DriveItem'' representation is sent, but we are only interested in the ID. The previous responses are irrelevant, so they are just ignored.

Value parameters

id

the ID of the item extracted from the response

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

A data class to represent the request for an upload session.

A data class to represent the request for an upload session.

Value parameters

item

the item for which content is uploaded

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UploadSessionResponse(uploadUrl: String)

A data class representing the response of an upload session request. We are only interested in the URL where the content needs to be uploaded.

A data class representing the response of an upload session request. We are only interested in the URL where the content needs to be uploaded.

Value parameters

uploadUrl

the URL to use for the following upload

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class WritableDriveItem(name: Option[String], description: Option[String], fileSystemInfo: Option[WritableFileSystemInfo], file: Option[MarkerProperty], folder: Option[MarkerProperty])

A data class representing a drive item that is going to be newly created or updated. For such use cases, only a subset of the properties of an item can be written; these are defined here.

A data class representing a drive item that is going to be newly created or updated. For such use cases, only a subset of the properties of an item can be written; these are defined here.

Value parameters

description

the description

file

marker object whether this is a file

fileSystemInfo

information about the local file system

folder

marker object whether this is a folder

name

the name of the item

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class WritableFileSystemInfo(createdDateTime: Option[Instant], lastModifiedDateTime: Option[Instant], lastAccessedDateTime: Option[Instant])

A data class storing information related to the local file system for a drive item that is going to be created or updated. The user can fill in the fields that should be updated and leave the others undefined.

A data class storing information related to the local file system for a drive item that is going to be created or updated. The user can fill in the fields that should be updated and leave the others undefined.

Value parameters

createdDateTime

the local creation time of the item

lastAccessedDateTime

the access time (only in last-access list)

lastModifiedDateTime

the local modified time of the item

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited classlikes

object BigDecimalJsonFormat extends JsonFormat[BigDecimal]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[BigDecimal]
trait JsonWriter[BigDecimal]
trait JsonReader[BigDecimal]
class Object
trait Matchable
class Any
Show all
object BigIntJsonFormat extends JsonFormat[BigInt]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[BigInt]
trait JsonWriter[BigInt]
trait JsonReader[BigInt]
class Object
trait Matchable
class Any
Show all
object BooleanJsonFormat extends JsonFormat[Boolean]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Boolean]
trait JsonWriter[Boolean]
trait JsonReader[Boolean]
class Object
trait Matchable
class Any
Show all
object ByteJsonFormat extends JsonFormat[Byte]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Byte]
trait JsonWriter[Byte]
trait JsonReader[Byte]
class Object
trait Matchable
class Any
Show all
object CharJsonFormat extends JsonFormat[Char]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Char]
trait JsonWriter[Char]
trait JsonReader[Char]
class Object
trait Matchable
class Any
Show all
object DoubleJsonFormat extends JsonFormat[Double]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Double]
trait JsonWriter[Double]
trait JsonReader[Double]
class Object
trait Matchable
class Any
Show all
object FloatJsonFormat extends JsonFormat[Float]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Float]
trait JsonWriter[Float]
trait JsonReader[Float]
class Object
trait Matchable
class Any
Show all
object IntJsonFormat extends JsonFormat[Int]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Int]
trait JsonWriter[Int]
trait JsonReader[Int]
class Object
trait Matchable
class Any
Show all
object JsValueFormat extends JsonFormat[JsValue]

Attributes

Inherited from:
AdditionalFormats
Supertypes
trait JsonFormat[JsValue]
trait JsonWriter[JsValue]
trait JsonReader[JsValue]
class Object
trait Matchable
class Any
Show all
object LongJsonFormat extends JsonFormat[Long]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Long]
trait JsonWriter[Long]
trait JsonReader[Long]
class Object
trait Matchable
class Any
Show all
class OptionFormat[T] extends JsonFormat[Option[T]]

Attributes

Inherited from:
StandardFormats
Supertypes
trait JsonFormat[Option[T]]
trait JsonWriter[Option[T]]
trait JsonReader[Option[T]]
class Object
trait Matchable
class Any
Show all
object RootJsArrayFormat extends RootJsonFormat[JsArray]

Attributes

Inherited from:
AdditionalFormats
Supertypes
trait RootJsonFormat[JsArray]
trait RootJsonWriter[JsArray]
trait RootJsonReader[JsArray]
trait JsonFormat[JsArray]
trait JsonWriter[JsArray]
trait JsonReader[JsArray]
class Object
trait Matchable
class Any
Show all
object RootJsObjectFormat extends RootJsonFormat[JsObject]

Attributes

Inherited from:
AdditionalFormats
Supertypes
trait RootJsonFormat[JsObject]
trait RootJsonWriter[JsObject]
trait RootJsonReader[JsObject]
trait JsonFormat[JsObject]
trait JsonWriter[JsObject]
trait JsonReader[JsObject]
class Object
trait Matchable
class Any
Show all
object ShortJsonFormat extends JsonFormat[Short]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Short]
trait JsonWriter[Short]
trait JsonReader[Short]
class Object
trait Matchable
class Any
Show all
object StringJsonFormat extends JsonFormat[String]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[String]
trait JsonWriter[String]
trait JsonReader[String]
class Object
trait Matchable
class Any
Show all
object SymbolJsonFormat extends JsonFormat[Symbol]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Symbol]
trait JsonWriter[Symbol]
trait JsonReader[Symbol]
class Object
trait Matchable
class Any
Show all
object UnitJsonFormat extends JsonFormat[Unit]

Attributes

Inherited from:
BasicFormats
Supertypes
trait JsonFormat[Unit]
trait JsonWriter[Unit]
trait JsonReader[Unit]
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

def jsonFormat[T](reader: JsonReader[T], writer: JsonWriter[T]): JsonFormat[T]

Constructs a JsonFormat from its two parts, JsonReader and JsonWriter.

Constructs a JsonFormat from its two parts, JsonReader and JsonWriter.

Attributes

Inherited from:
AdditionalFormats
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, P19 : JsonFormat, P20 : JsonFormat, P21 : JsonFormat, P22 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String, fieldName22: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, P19 : JsonFormat, P20 : JsonFormat, P21 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String, fieldName21: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, P19 : JsonFormat, P20 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String, fieldName20: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, P19 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String, fieldName19: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String, fieldName18: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String, fieldName17: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String, fieldName16: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String, fieldName15: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String, fieldName14: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String, fieldName13: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String, fieldName12: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String, fieldName11: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String, fieldName10: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String, fieldName9: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7, P8) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String, fieldName8: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6, P7) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String, fieldName7: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5, P6) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String, fieldName6: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4, P5) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String, fieldName5: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, T <: Product](construct: (P1, P2, P3, P4) => T, fieldName1: String, fieldName2: String, fieldName3: String, fieldName4: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, T <: Product](construct: (P1, P2, P3) => T, fieldName1: String, fieldName2: String, fieldName3: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, P2 : JsonFormat, T <: Product](construct: (P1, P2) => T, fieldName1: String, fieldName2: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat[P1 : JsonFormat, T <: Product](construct: P1 => T, fieldName1: String): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat0[T](construct: () => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormats
def jsonFormat1[P1 : JsonFormat, T <: Product : ClassTag](construct: P1 => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat10[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat11[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat12[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat13[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat14[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat15[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat16[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat17[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat18[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat19[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, P19 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat2[P1 : JsonFormat, P2 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat20[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, P19 : JsonFormat, P20 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat21[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, P19 : JsonFormat, P20 : JsonFormat, P21 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat22[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, P10 : JsonFormat, P11 : JsonFormat, P12 : JsonFormat, P13 : JsonFormat, P14 : JsonFormat, P15 : JsonFormat, P16 : JsonFormat, P17 : JsonFormat, P18 : JsonFormat, P19 : JsonFormat, P20 : JsonFormat, P21 : JsonFormat, P22 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat3[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat4[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat5[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat6[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat7[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat8[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def jsonFormat9[P1 : JsonFormat, P2 : JsonFormat, P3 : JsonFormat, P4 : JsonFormat, P5 : JsonFormat, P6 : JsonFormat, P7 : JsonFormat, P8 : JsonFormat, P9 : JsonFormat, T <: Product : ClassTag](construct: (P1, P2, P3, P4, P5, P6, P7, P8, P9) => T): RootJsonFormat[T]

Attributes

Inherited from:
ProductFormatsInstances
def lazyFormat[T](format: => JsonFormat[T]): JsonFormat[T]

Lazy wrapper around serialization. Useful when you want to serialize (mutually) recursive structures.

Lazy wrapper around serialization. Useful when you want to serialize (mutually) recursive structures.

Attributes

Inherited from:
AdditionalFormats
def lift[T <: AnyRef](reader: RootJsonReader[T]): RootJsonFormat[T]

Turns a RootJsonReader into a RootJsonFormat that throws an UnsupportedOperationException for writes.

Turns a RootJsonReader into a RootJsonFormat that throws an UnsupportedOperationException for writes.

Attributes

Inherited from:
AdditionalFormats
def lift[T <: AnyRef](reader: JsonReader[T]): JsonFormat[T]

Turns a JsonReader into a JsonFormat that throws an UnsupportedOperationException for writes.

Turns a JsonReader into a JsonFormat that throws an UnsupportedOperationException for writes.

Attributes

Inherited from:
AdditionalFormats
def lift[T](writer: RootJsonWriter[T]): RootJsonFormat[T]

Turns a RootJsonWriter into a RootJsonFormat that throws an UnsupportedOperationException for reads.

Turns a RootJsonWriter into a RootJsonFormat that throws an UnsupportedOperationException for reads.

Attributes

Inherited from:
AdditionalFormats
def lift[T](writer: JsonWriter[T]): JsonFormat[T]

Turns a JsonWriter into a JsonFormat that throws an UnsupportedOperationException for reads.

Turns a JsonWriter into a JsonFormat that throws an UnsupportedOperationException for reads.

Attributes

Inherited from:
AdditionalFormats
def rootFormat[T](format: JsonFormat[T]): RootJsonFormat[T]

Explicitly turns a JsonFormat into a RootJsonFormat.

Explicitly turns a JsonFormat into a RootJsonFormat.

Attributes

Inherited from:
AdditionalFormats
def rootJsonFormat[T](reader: RootJsonReader[T], writer: RootJsonWriter[T]): RootJsonFormat[T]

Constructs a RootJsonFormat from its two parts, RootJsonReader and RootJsonWriter.

Constructs a RootJsonFormat from its two parts, RootJsonReader and RootJsonWriter.

Attributes

Inherited from:
AdditionalFormats
def safeReader[A : JsonReader]: JsonReader[Either[Exception, A]]

Wraps an existing JsonReader with Exception protection.

Wraps an existing JsonReader with Exception protection.

Attributes

Inherited from:
AdditionalFormats
def viaSeq[I <: Iterable[T], T : JsonFormat](f: Seq[T] => I): RootJsonFormat[I]

A JsonFormat construction helper that creates a JsonFormat for an Iterable type I from a builder function List => I.

A JsonFormat construction helper that creates a JsonFormat for an Iterable type I from a builder function List => I.

Attributes

Inherited from:
CollectionFormats

Implicits

Implicits

implicit val driveItemFormat: RootJsonFormat[DriveItem]
implicit val fileFormat: RootJsonFormat[File]
implicit val fileSystemInfoFormat: RootJsonFormat[FileSystemInfo]
implicit val folderFormat: RootJsonFormat[Folder]
implicit val folderResponseFormat: RootJsonFormat[FolderResponse]
implicit val hashesFormat: RootJsonFormat[Hashes]
implicit val identityFormat: RootJsonFormat[Identity]
implicit val identitySetFormat: RootJsonFormat[IdentitySet]
implicit val itemReferenceFormat: RootJsonFormat[ItemReference]
implicit val markerPropertyFormat: RootJsonFormat[MarkerProperty]
implicit val resolveResponseFormat: RootJsonFormat[ResolveResponse]
implicit val sharedFormat: RootJsonFormat[Shared]
implicit val specialFolderFormat: RootJsonFormat[SpecialFolder]
implicit val uploadChunkResponseFormat: RootJsonFormat[UploadChunkResponse]
implicit val uploadSessionRequest: RootJsonFormat[UploadSessionRequest]
implicit val uploadSessionResponse: RootJsonFormat[UploadSessionResponse]
implicit val writableDriveItemFormat: RootJsonFormat[WritableDriveItem]

Inherited implicits

implicit def arrayFormat[T : ClassTag]: RootJsonFormat[Array[T]]

Supplies the JsonFormat for Arrays.

Supplies the JsonFormat for Arrays.

Attributes

Inherited from:
CollectionFormats
implicit def eitherFormat[A : JsonFormat, B : JsonFormat]: JsonFormat[Either[A, B]]

Attributes

Inherited from:
StandardFormats
implicit def immIndexedSeqFormat[T : JsonFormat]: RootJsonFormat[IndexedSeq[T]]

Attributes

Inherited from:
CollectionFormats
implicit def immIterableFormat[T : JsonFormat]: RootJsonFormat[Iterable[T]]

Attributes

Inherited from:
CollectionFormats
implicit def immLinearSeqFormat[T : JsonFormat]: RootJsonFormat[LinearSeq[T]]

Attributes

Inherited from:
CollectionFormats
implicit def immSeqFormat[T : JsonFormat]: RootJsonFormat[Seq[T]]

Attributes

Inherited from:
CollectionFormats
implicit def immSetFormat[T : JsonFormat]: RootJsonFormat[Set[T]]

Attributes

Inherited from:
CollectionFormats
implicit def indexedSeqFormat[T : JsonFormat]: RootJsonFormat[IndexedSeq[T]]

Attributes

Inherited from:
CollectionFormats
implicit def iterableFormat[T : JsonFormat]: RootJsonFormat[Iterable[T]]

Attributes

Inherited from:
CollectionFormats
implicit def linearSeqFormat[T : JsonFormat]: RootJsonFormat[LinearSeq[T]]

Attributes

Inherited from:
CollectionFormats
implicit def listFormat[T : JsonFormat]: RootJsonFormat[List[T]]

Supplies the JsonFormat for Lists.

Supplies the JsonFormat for Lists.

Attributes

Inherited from:
CollectionFormats
implicit def mapFormat[K : JsonFormat, V : JsonFormat]: RootJsonFormat[Map[K, V]]

Supplies the JsonFormat for Maps. The implicitly available JsonFormat for the key type K must always write JsStrings, otherwise a spray.json.SerializationException will be thrown.

Supplies the JsonFormat for Maps. The implicitly available JsonFormat for the key type K must always write JsStrings, otherwise a spray.json.SerializationException will be thrown.

Attributes

Inherited from:
CollectionFormats
implicit def optionFormat[T : JsonFormat]: JsonFormat[Option[T]]

Attributes

Inherited from:
StandardFormats
implicit def seqFormat[T : JsonFormat]: RootJsonFormat[Seq[T]]

Attributes

Inherited from:
CollectionFormats
implicit def setFormat[T : JsonFormat]: RootJsonFormat[Set[T]]

Attributes

Inherited from:
CollectionFormats
implicit def tuple1Format[A : JsonFormat]: JsonFormat[(A)]

Attributes

Inherited from:
StandardFormats
implicit def tuple2Format[A : JsonFormat, B : JsonFormat]: RootJsonFormat[(A, B)]

Attributes

Inherited from:
StandardFormats
implicit def tuple3Format[A : JsonFormat, B : JsonFormat, C : JsonFormat]: RootJsonFormat[(A, B, C)]

Attributes

Inherited from:
StandardFormats
implicit def tuple4Format[A : JsonFormat, B : JsonFormat, C : JsonFormat, D : JsonFormat]: RootJsonFormat[(A, B, C, D)]

Attributes

Inherited from:
StandardFormats
implicit def tuple5Format[A : JsonFormat, B : JsonFormat, C : JsonFormat, D : JsonFormat, E : JsonFormat]: RootJsonFormat[(A, B, C, D, E)]

Attributes

Inherited from:
StandardFormats
implicit def tuple6Format[A : JsonFormat, B : JsonFormat, C : JsonFormat, D : JsonFormat, E : JsonFormat, F : JsonFormat]: RootJsonFormat[(A, B, C, D, E, F)]

Attributes

Inherited from:
StandardFormats
implicit def tuple7Format[A : JsonFormat, B : JsonFormat, C : JsonFormat, D : JsonFormat, E : JsonFormat, F : JsonFormat, G : JsonFormat]: RootJsonFormat[(A, B, C, D, E, F, G)]

Attributes

Inherited from:
StandardFormats
implicit def vectorFormat[T : JsonFormat]: RootJsonFormat[Vector[T]]

Attributes

Inherited from:
CollectionFormats