Json serialization errors for DiEdge for play framework 2.6.10 and play-json 2.6.0

18 views
Skip to first unread message

bha...@yantranet.com

unread,
Jun 6, 2018, 5:20:18 AM6/6/18
to scala-graph

We recently migrated our project to play 2.6.10 with scala 2.12.5
We also updated graph-core to 1.12.5 and graph-json to 1.12.1

After the above changes , we started receiving the following error for implicit json format definitions for DiEdge

 _ must follow method; cannot follow (nodes: (String, String))scalax.collection.GraphEdge.DiEdge[String] <and> (from: String, to: String)scalax.collection.GraphEdge.DiEdge[String]
[error]   implicit val implDiEdgeFormat = Json.format[DiEdge[String]]
implicit val implDiEdgeFormat = Json.format[DiEdge[String]]


Can some one help us on how to resolve the issue.

Thanks In advance.


Peter Empen

unread,
Jun 9, 2018, 4:38:23 AM6/9/18
to scala...@googlegroups.com
Which version of lift-json and paranamer do you have on your classpath?
Also, please provide complete code including your imports. In particular, what is the fully qualified type of Json?
Reply all
Reply to author
Forward
0 new messages