finatra-jackson


License

License

Categories

Categories

Jackson Data JSON
GroupId

GroupId

com.twitter.finatra
ArtifactId

ArtifactId

finatra-jackson_2.10
Last Version

Last Version

2.1.6
Release Date

Release Date

Type

Type

jar
Description

Description

finatra-jackson
finatra-jackson
Project URL

Project URL

https://github.com/twitter/finatra
Project Organization

Project Organization

com.twitter.finatra

Download finatra-jackson_2.10

How to add to project

<!-- https://jarcasting.com/artifacts/com.twitter.finatra/finatra-jackson_2.10/ -->
<dependency>
    <groupId>com.twitter.finatra</groupId>
    <artifactId>finatra-jackson_2.10</artifactId>
    <version>2.1.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.twitter.finatra/finatra-jackson_2.10/
implementation 'com.twitter.finatra:finatra-jackson_2.10:2.1.6'
// https://jarcasting.com/artifacts/com.twitter.finatra/finatra-jackson_2.10/
implementation ("com.twitter.finatra:finatra-jackson_2.10:2.1.6")
'com.twitter.finatra:finatra-jackson_2.10:jar:2.1.6'
<dependency org="com.twitter.finatra" name="finatra-jackson_2.10" rev="2.1.6">
  <artifact name="finatra-jackson_2.10" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.twitter.finatra', module='finatra-jackson_2.10', version='2.1.6')
)
libraryDependencies += "com.twitter.finatra" % "finatra-jackson_2.10" % "2.1.6"
[com.twitter.finatra/finatra-jackson_2.10 "2.1.6"]

Dependencies

compile (7)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.10.6
com.twitter.finatra : finatra-utils_2.10 jar 2.1.6
com.fasterxml.jackson.core : jackson-databind jar 2.4.4
com.fasterxml.jackson.datatype : jackson-datatype-joda jar 2.4.4
com.fasterxml.jackson.module : jackson-module-scala_2.10 jar 2.4.4
org.scala-lang : scalap jar 2.10.6
com.twitter.finatra : finatra-scalap-compiler-deps_2.10 jar 2.0.0

test (5)

Group / Artifact Type Version
com.twitter.inject : inject-app_2.10 jar 2.1.6
org.mockito : mockito-core jar 1.9.5
org.scalatest : scalatest_2.10 jar 2.2.3
org.specs2 : specs2_2.10 jar 2.3.12
org.slf4j : slf4j-simple jar 1.7.7

Project Modules

There are no modules declared in this project.

Finatra

Build Status Test Coverage Project status Maven Central Gitter

Status

This project is used in production at Twitter (and many other organizations), and is being actively developed and maintained.

Finatra Logo

Finatra is a lightweight framework for building fast, testable, scala applications on top of TwitterServer and Finagle. Finatra provides an easy-to-use API for creating and testing Finagle servers and apps as well as powerful JSON support, modern logging via SLF4J, Finagle client utilities, and more.

Getting involved

Features

Documentation

To get started, see the Getting Started section of our User Guide to get up and running. Or check out the specific sections for building HTTP or Thrift servers.

Examples

An HTTP controller and server:

import com.twitter.finatra.http._

@Singleton
class ExampleController extends Controller {
  get("/") { request: Request =>
    "<h1>Hello, world!</h1>"
  }
}
import com.twitter.finatra.http._

class ExampleServer extends HttpServer {
  override def configureHttp(router: HttpRouter): Unit = {
    router
      .filter[CommonFilters]
      .add[ExampleController]
  }
}

A Thrift controller and server:

import com.twitter.finatra.thrift._
import com.twitter.scrooge.{Request, Response}

@Singleton
class ExampleThriftController
  extends Controller(MyThriftService) {

  handle(MyFunction).withFn { request: Request[MyFunction.Args] =>
    ...
  }
}
import com.twitter.finatra.thrift._

class ExampleServer extends ThriftServer {
  override def configureThrift(router: ThriftRouter): Unit = {
    router
      .add[ExampleThriftController]
  }
}

Example Projects

Finatra includes working examples which highlight various features of the framework and include tests. These examples are included in the root sbt build and are thus buildable as part of the entire project.

Please take a look through the examples for more detailed information on features, testing, building, and running.

Latest version

The release branch in Github tracks the latest stable release, which is currently:

Maven Central

available on Maven Central. See the First Steps section in the User Guide for how to add dependencies.

Releases are done on an approximately monthly schedule. While semver is not followed, the changelogs are detailed and include sections on public API breaks and changes in runtime behavior.

Development version

The develop branch in Github tracks the latest code which is updated every week. If you want to contribute a patch or fix, please use this branch as the basis of your Pull Request.

For more information on providing contributions, please see our CONTRIBUTING.md documentation.

Presentations

Check out our list of presentations: Finatra Presentations.

Authors

A full list of contributors can be found on GitHub.

Follow @finatra on Twitter for updates.

License

Copyright 2013-2020 Twitter, Inc.

Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0

com.twitter.finatra

Twitter

Twitter 💙 #opensource

Versions

Version
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
2.0.0.RC1
2.0.0.M2
2.0.0.M1