object Json
- Source
- Json.scala
- Alphabetic
- By Inheritance
- Json
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class NamespaceNameJson(namespace: NamespaceName) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit lazy val AccessTokenCodec: CodecJson[AccessToken]
-
implicit
lazy val
AssetDecoder: DecodeJson[Asset]
{ "url": "https://github.example.com/api/v3/repos/example/howdy/releases/assets/1", "id": 1, "name": "example.yml", "label": "", "uploader": { ...
{ "url": "https://github.example.com/api/v3/repos/example/howdy/releases/assets/1", "id": 1, "name": "example.yml", "label": "", "uploader": { ... }, "content_type": "application/yaml", "state": "uploaded", "size": 36, "download_count": 0, "created_at": "2015-12-18T00:27:46Z", "updated_at": "2015-12-18T00:27:46Z", "browser_download_url": "https://github.example.com/example/howdy/releases/download/3.0.0/example.yml" }
- implicit lazy val CommitUnitDecode: DecodeJson[CommitUnit]
- implicit lazy val DeploymentDeploymentEncoder: EncodeJson[DependencyEdge]
- implicit lazy val DeploymentEncoder: EncodeJson[Deployment]
- implicit lazy val DeploymentSummaryEncoder: EncodeJson[DeploymentSummary]
- implicit lazy val DurationEncoder: EncodeJson[Duration]
- implicit val GithubAssetsEncoder: EncodeJson[Asset]
-
implicit
val
GithubContentsDecoder: DecodeJson[Contents]
{ "content": "...", "name": ".travis.yml", "size": 633 }
- implicit val GithubDeploymentEncoder: EncodeJson[Deployment]
- implicit val GithubDeploymentEventDecoder: DecodeJson[Deployment]
- implicit val GithubDeploymentEventInboundDecoder: DecodeJson[DeploymentEvent]
-
implicit
lazy val
GithubEventDecoder: DecodeJson[Event]
a simple aggregate decoder that allows us to refer to all events as a single inbound type; bit hacky but we're bridging the typed and un-typed worlds here...
a simple aggregate decoder that allows us to refer to all events as a single inbound type; bit hacky but we're bridging the typed and un-typed worlds here... *sigh*.
TIM: this seems really hacky.
- implicit lazy val GithubOrg: CodecJson[OrgKey]
-
implicit
lazy val
GithubPingEventDecoder: DecodeJson[PingEvent]
Supplied by Github to ensure that your webhook is active
- implicit val GithubPullRequestEventDecoder: DecodeJson[PullRequestEvent]
-
implicit
val
GithubReleaseDecoder: DecodeJson[Release]
{ "assets": [ { "browser_download_url": "https://github.example.com/tim/howdy/releases/download/0.13.17/example-howdy.deployable.yml", "content_type": "application/yaml; charset=UTF-8", "created_at": "2016-02-11T21:31:47Z", "download_count": 1, "id": 119, "label": "", "name": "example-howdy.deployable.yml", "size": 206, "state": "uploaded", "updated_at": "2016-02-11T21:31:48Z", "uploader": { "avatar_url": "https://github.example.com/avatars/u/703?", "events_url": "https://github.example.com/api/v3/users/travis/events{/privacy}", "followers_url": "https://github.example.com/api/v3/users/travis/followers", "following_url": "https://github.example.com/api/v3/users/travis/following{/other_user}", "gists_url": "https://github.example.com/api/v3/users/travis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.example.com/travis", "id": 703, "login": "travis", "organizations_url": "https://github.example.com/api/v3/users/travis/orgs", "received_events_url": "https://github.example.com/api/v3/users/travis/received_events", "repos_url": "https://github.example.com/api/v3/users/travis/repos", "site_admin": false, "starred_url": "https://github.example.com/api/v3/users/travis/starred{/owner}{/repo}", "subscriptions_url": "https://github.example.com/api/v3/users/travis/subscriptions", "type": "User", "url": "https://github.example.com/api/v3/users/travis" }, "url": "https://github.example.com/api/v3/repos/tim/howdy/releases/assets/119" } ], "assets_url": "https://github.example.com/api/v3/repos/tim/howdy/releases/250/assets", "author": { "avatar_url": "https://github.example.com/avatars/u/703?", "events_url": "https://github.example.com/api/v3/users/travis/events{/privacy}", "followers_url": "https://github.example.com/api/v3/users/travis/followers", "following_url": "https://github.example.com/api/v3/users/travis/following{/other_user}", "gists_url": "https://github.example.com/api/v3/users/travis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.example.com/travis", "id": 703, "login": "travis", "organizations_url": "https://github.example.com/api/v3/users/travis/orgs", "received_events_url": "https://github.example.com/api/v3/users/travis/received_events", "repos_url": "https://github.example.com/api/v3/users/travis/repos", "site_admin": false, "starred_url": "https://github.example.com/api/v3/users/travis/starred{/owner}{/repo}", "subscriptions_url": "https://github.example.com/api/v3/users/travis/subscriptions", "type": "User", "url": "https://github.example.com/api/v3/users/travis" }, "body": "", "created_at": "2016-02-11T21:30:05Z", "draft": false, "html_url": "https://github.example.com/tim/howdy/releases/tag/0.13.17", "id": 250, "name": "Inner Elemental", "prerelease": false, "published_at": "2016-02-11T21:31:47Z", "tag_name": "0.13.17", "tarball_url": "https://github.example.com/api/v3/repos/tim/howdy/tarball/0.13.17", "target_commitish": "master", "upload_url": "https://github.example.com/api/uploads/repos/tim/howdy/releases/250/assets{?name,label}", "url": "https://github.example.com/api/v3/repos/tim/howdy/releases/250", "zipball_url": "https://github.example.com/api/v3/repos/tim/howdy/zipball/0.13.17" }
- implicit val GithubReleaseEncoder: EncodeJson[Release]
-
implicit
val
GithubReleaseEventDecoder: DecodeJson[ReleaseEvent]
{ "action": "published", "release": { "url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438", "assets_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets", "upload_url": "https://uploads.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets{?name}", "html_url": "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1", "id": 1261438, "tag_name": "0.0.1", "target_commitish": "master", "name": null, "draft": false, "author": { "login": "baxterthehacker", "id": 6752317, "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", "gravatar_id": "", "url": "https://api.github.com/users/baxterthehacker", "html_url": "https://github.com/baxterthehacker", ...
{ "action": "published", "release": { "url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438", "assets_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets", "upload_url": "https://uploads.github.com/repos/baxterthehacker/public-repo/releases/1261438/assets{?name}", "html_url": "https://github.com/baxterthehacker/public-repo/releases/tag/0.0.1", "id": 1261438, "tag_name": "0.0.1", "target_commitish": "master", "name": null, "draft": false, "author": { "login": "baxterthehacker", "id": 6752317, "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", "gravatar_id": "", "url": "https://api.github.com/users/baxterthehacker", "html_url": "https://github.com/baxterthehacker", ... "type": "User", "site_admin": false }, "prerelease": false, "created_at": "2015-05-05T23:40:12Z", "published_at": "2015-05-05T23:40:38Z", "assets": [
], "tarball_url": "https://api.github.com/repos/baxterthehacker/public-repo/tarball/0.0.1", "zipball_url": "https://api.github.com/repos/baxterthehacker/public-repo/zipball/0.0.1", "body": null }, "repository": { "id": 35129377, "name": "public-repo", "full_name": "baxterthehacker/public-repo", "owner": { "login": "baxterthehacker", "id": 6752317, "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", "gravatar_id": "", "url": "https://api.github.com/users/baxterthehacker", "html_url": "https://github.com/baxterthehacker", ... "type": "User", "site_admin": false }, "private": false, "html_url": "https://github.com/baxterthehacker/public-repo", "description": "", "fork": false, ... "created_at": "2015-05-05T23:40:12Z", "updated_at": "2015-05-05T23:40:30Z", "pushed_at": "2015-05-05T23:40:38Z", "git_url": "git://github.com/baxterthehacker/public-repo.git", "ssh_url": "git@github.com:baxterthehacker/public-repo.git", "clone_url": "https://github.com/baxterthehacker/public-repo.git", "svn_url": "https://github.com/baxterthehacker/public-repo", "homepage": null, "size": 0, "stargazers_count": 0, "watchers_count": 0, "language": null, "has_issues": true, "has_downloads": true, "has_wiki": true, "has_pages": true, "forks_count": 0, "mirror_url": null, "open_issues_count": 2, "forks": 0, "open_issues": 2, "watchers": 0, "default_branch": "master" }, "sender": { "login": "baxterthehacker", "id": 6752317, "avatar_url": "https://avatars.githubusercontent.com/u/6752317?v=3", "gravatar_id": "", "url": "https://api.github.com/users/baxterthehacker", "html_url": "https://github.com/baxterthehacker", ... "type": "User", "site_admin": false } }
- implicit lazy val GithubUser: CodecJson[Github.User]
-
implicit
lazy val
GithubWebHookDecoder: DecodeJson[WebHook]
{ "id": 1, "url": "https://api.github.com/repos/octocat/Hello-World/hooks/1", "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/1/test", "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings", "name": "web", "events": [ "push", "pull_request" ], "active": true, "config": { "url": "http://example.com/webhook", "content_type": "json" }, "updated_at": "2011-09-06T20:39:23Z", "created_at": "2011-09-06T17:26:27Z" }
-
implicit
lazy val
GithubWebHookEncoder: EncodeJson[WebHook]
{ "name": "web", "active": true, "events": [ "push", "pull_request" ], "config": { "url": "http://example.com/webhook", "content_type": "json" } }
- implicit val HealthCheckEncoder: EncodeJson[HealthCheck]
- implicit lazy val HealthStatusEncoder: EncodeJson[HealthStatus]
- implicit lazy val HookEncoder: EncodeJson[Hook]
- implicit lazy val JsonToUri: DecodeJson[URI]
- implicit val NamespaceNameDecoder: DecodeJson[NamespaceName]
- implicit val NamespaceNameJsonDecoder: DecodeJson[NamespaceNameJson]
- implicit val NamspaceRoutingGraphEncoder: EncodeJson[(Namespace, RoutingGraph)]
- implicit def NelsonErrorEncoder[A <: NelsonError]: EncodeJson[A]
- implicit lazy val OrganizationCodec: CodecJson[Organization]
- implicit lazy val OrganizationDecoder: DecodeJson[Organization]
- implicit lazy val OrganizationEncoder: EncodeJson[Organization]
- implicit lazy val RepoAccessDecoder: DecodeJson[RepoAccess]
- implicit lazy val RepoDecoder: DecodeJson[Repo]
- implicit lazy val RepoEncoder: EncodeJson[Repo]
- implicit lazy val RoutePathRoutingNodeEncoder: EncodeJson[(RoutePath, RoutingNode)]
- implicit lazy val RoutingNodeEncoder: EncodeJson[RoutingNode]
- implicit lazy val RuntimeSummaryEncoder: EncodeJson[RuntimeSummary]
- implicit lazy val SessionEncoder: EncodeJson[Session]
- implicit lazy val StackNameEncoder: EncodeJson[StackName]
- implicit lazy val ThrowableEncoder: EncodeJson[Throwable]
- implicit lazy val TrafficShiftEncoder: EncodeJson[TrafficShift]
- implicit lazy val UriToJson: EncodeJson[URI]
- implicit lazy val UserCodec: CodecJson[User]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit val auditLogEncoder: CodecJson[AuditLog]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def encodeTransposeMap[K, V](klabel: Symbol, vlabel: Symbol)(implicit ek: EncodeJson[K], ev: EncodeJson[V]): EncodeJson[Map[K, V]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit val manualDeployEncoder: CodecJson[ManualDeployment]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit val runningUnitEncoder: EncodeJson[RunningUnit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- implicit def tagEncoder[A, T](implicit ea: EncodeJson[A]): EncodeJson[@@[A, T]]
- implicit val timestampCodec: CodecJson[Instant]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )