Credentials.fromJSON

Deserialises some Credentials from JSON.

struct Credentials
static
fromJSON
(
const JSONValue json
)

Parameters

json JSONValue

JSON representation of some Credentials.

Return Value

Type: auto

A new Credentials with values from the passed json.