diff options
author | Kseniya Tomskikh <ktomskih@datamonsters.co> | 2017-10-05 14:56:21 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-05 14:56:21 +0700 |
commit | 1b04669effd79324e52f0dcba0f3714d4a2a957c (patch) | |
tree | f790167557d8e3d17224fda4747b4349092a3107 /src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/criterion.scala | |
parent | 98dd8b171aee84c88754ea1a8ec20524ad579d7c (diff) | |
parent | c5462a496aeb4d43f023bb427bf12fc87b482b61 (diff) | |
download | rest-query-1b04669effd79324e52f0dcba0f3714d4a2a957c.tar.gz rest-query-1b04669effd79324e52f0dcba0f3714d4a2a957c.tar.bz2 rest-query-1b04669effd79324e52f0dcba0f3714d4a2a957c.zip |
Merge pull request #38 from drivergroup/replace-tuplesv0.6.0
Replace tuples in services replies to rich-classes
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/criterion.scala')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/criterion.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/criterion.scala b/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/criterion.scala index 8da719c..89c843f 100644 --- a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/criterion.scala +++ b/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/criterion.scala @@ -10,7 +10,7 @@ object criterion { import DefaultJsonProtocol._ import common._ - implicit val criterionLabelWriter = new JsonWriter[CriterionLabel] { + implicit val criterionLabelWriter = new RootJsonWriter[CriterionLabel] { override def write(obj: CriterionLabel) = JsObject( "labelId" -> obj.labelId.toJson, "categoryId" -> obj.categoryId.toJson, |