Oneliner.fromJSON

Deserialises a Oneliner from a JSONValue.

struct Oneliner
static
fromJSON
(
const JSONValue json
)

Parameters

json JSONValue

JSONValue to deserialise.

Return Value

Type: auto

A new Oneliner with values loaded from the passed JSON.