@Test
public void ignoresFieldsAnnotatedWithJsonTransient() throws Exception {

    BeanWithTransientField bean = new BeanWithTransientField();
    JsonValue jsonValue = JsonGenerator.createJsonObject(bean);
    assertEquals("visible", jsonValue.getElement("field").getStringValue());
    assertNull(jsonValue.getElement("jsonTransientField"));
}