I am using Either implementation for my object because I am expecting an empty Json for one of the parameter in the object. Here is the object: I a ...
I am using Either implementation for my object because I am expecting an empty Json for one of the parameter in the object. Here is the object: I a ...
I can extend RootJsonFormat in order to support more than 22 fields on the case class. However, my case class also contains nested objects and Option[ ...
I have objects which have similar structure like The above mentioned classes are used to populate data from external API call: Caller The abo ...
I use spray json in my application and for models I need to write JsonProtocol companions. Because in the service I have more models, I have two opti ...
I'm looking for a solution to this but for json spray and my searches and attempts to get this working with json spray have failed thus far. If I hav ...
I'm beginner on Python and started trying to program a code to analyze a spray image and plot a 'gray scale value' to see the spray pattern. For a wh ...
I am trying to do cross-domain api calling from one server to another. For this OPTIONS request is completing successfully but actual requests(GET, PO ...
I have the following case class rows which i want to further filter and represent them as a json json format I want to represent in Now I'm con ...
I am new in scala. Currently, to create rest API I'm using the spray. Now I want to consume API from another server. I'm calling this API on every key ...
I am new to scala. I am trying to timeout api request. I am using spray to make API request. I have spray client to get response from some other serve ...
I am new to scala and spray. I am able to abort request from reactJS. And it shows in network tab of browser console that the request is cancelled. Bu ...
I am migrating from code spray (version: 1.3.4) to akka-http (version: 10.0.13). We have an existing clients they send Content-Type like application ...
I have the following Deserializer from a Spray project that I'd like to port over to Akka-Http. I'm just starting out with Akka-Http so I'm not to sur ...
I have created simple trait which should convert models into json: I have a Travel model which looks like: But the problem is (as I found out) i ...
I have a simple Main object, which create routes for my two services this way: Now, I would like to refactor this code and move this piece into sep ...
I am migrating from a Spray Framework (version 1.3.X) based JSON REST API service documented with Swagger (spray-swagger version 1.3 or 1.4) to Lagom ...
I have a json Which I am converting to a scala object with the help of spray-json. My case classes are as follows I have created a trait that ...
I have the following code that takes path parameters; But I want to change some of the parameters to be Query Parms. So the URL will follow a form ...
I have a class that is nested in a list in another class. it looks like this the toJson method here works perfectly, however, this class is embedde ...
I have a class that looks somewhat like that I am just trying to add a json support to my class. whenever I import the protocol and spray.json._ fr ...