我可以在play框架中使用spray json进行json序列化吗?我试过了,但它似乎不起作用。我得到以下错误
play.sbt.PlayExceptions$CompilationException: Compilation error[Cannot write an instance of spray.json.JsValueTry to define a Writeable[spray.json.JsValue]]
给定:当命中spray web service时,client会收到以下HTTP状态代码和实体主体根据这个,我的理解是spray web service没有收到来自other web service的及时响应假设这是合理的,根据,我猜测其中一个server 负责spray web service对clie
我正在使用spray JSON将自定义对象的列表编组到JSON中。我有以下的case类和它的JsonProtocol。ElementResponse(...)) } could not find implicit value for evidence parameter of type spray.httpx.marshalling.Marshaller
Spray说,任何正常的数据类型,包括Seq,都会自动与JSON进行数据编组。出于某种原因,我没有经历过这种情况。import spray.json._...// 'sbt test' gives:
// "could not find implicit value for evidence parameter of type spray.httpx.unmarshalling.FromRespons