Skip to content

GistJSONConverter

[Source]

Converts a JSON object from the GitHub gist API into a Gist. Handles the files object by iterating its key-value pairs and converting each value with GistFileJSONConverter.

primitive val GistJSONConverter is
  JSONConverter[Gist val] val

Implements


Constructors

create

[Source]

new val create()
: GistJSONConverter val^

Returns


Public Functions

apply

[Source]

Converts a JSON object into a Gist.

fun box apply(
  json: JSONNav val,
  creds: Credentials val)
: Gist val ?

Parameters

Returns


eq

[Source]

fun box eq(
  that: GistJSONConverter val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: GistJSONConverter val)
: Bool val

Parameters

Returns