Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src
README.md

README.md

Macramé-Play

Macrame-Play provides Reads, Writes,Format, QueryStringBindable, and PathBindable instances for Macramé enumerations.

Getting Macramé-Play

If you're using SBT, add the following to your build file.

libraryDependencies += "com.claireneveu" %% "macrame-play" % "1.1.1-play-2.5.x"

API Documentation

Full API documentation is available here.

Usage

This example shows how to make a Format instance for a Color enumeration:

import macrame.play.enums.JsonConverters

@enum class Color {
   Red
   Blue
   Yellow
}
object Color extends JsonConverters[Color]
You can’t perform that action at this time.