APISonar


org.mockserver.model.Format.JSON

> org > mockserver > model > Format > JSON
org APIs mockserver APIs model APIs Format APIs JSON APIs

Example 1
public void retrieveActiveExpectationsInJson() {
        String activeExpectations = new MockServerClient("localhost", 1080)
            .retrieveActiveExpectations(
                request()
                    .withPath("/some/path"),
                Format.JSON
            );
    }