Questions tagged [java-8]

Utilize this specific tag for inquiries related to Java 8, the version 8 (internal number 1.8) of the Java platform that was officially launched on March 18, 2014. It is advisable to include the java tag in addition to this tag in your query.

Cucumber - Steps Without Definition Yet Fully Defined

I have recently started working on a Simple Selenium Cucumber project and have defined steps using the "Lambda Expressions Constructor" method in a feature file. However, when I tried to run the CucumberTest class, I encountered a failure exception. The ...

What is the best way to convert a Java 8 LocalDateTime property to a JavaScript-style Date String when using JAX-RS?

I implemented a RESTful web service using JAX-RS method annotations: @GET @Path("/test") @Produces(MediaType.APPLICATION_JSON) public MyThing test() { MyThing myObject = new MyThing(LocalDateTime.now()); return myObject; } Everything is working s ...

Guide on transforming JSON into a basic 2D Array

Here is an example of a JSONObject structure: [{"key1":1,"key2":"yyy","key3":"4"..........}, {"key1":2,"key2":"xxx","key3":"5"...........}, {"key1":3,"key2":"zzz","key3":"6"...........}] I am looking to convert this JSONObject into a simplified 2D arra ...

Producing two observables, handling the output, and subsequently emitting a different one

I have been assigned a task that involves working with multiple observables in a specific way: The goal is to emit two observables (obs1 & obs2), process their results, and then call another observable (obs3). It's important that while processing the resu ...

Implement filtering for schema-less JSON objects within GraphQL

I am facing a challenge with a data JSON object that contains dynamic fields, making it impossible to define the schema in GraphQL. Instead, I defined it as Json using scalar. My goal is to filter the fields within the data JSON object. Here is an example ...