public final POJONode POJONode(Object pojo) { return _nodeFactory.POJONode(pojo); }
public final POJONode POJONode(Object pojo) { return _nodeFactory.POJONode(pojo); }
return nodeFactory.POJONode(ob);
@Override public JsonNode write(IEntity currEntity, Object value, MetaField metaField) { if (value instanceof POJONode) { return (JsonNode) value; } return JsonNodeFactory.instance.POJONode(value); }
public final POJONode POJONode(Object pojo) { return _nodeFactory.POJONode(pojo); }
public final POJONode POJONode(Object pojo) { return _nodeFactory.POJONode(pojo); }
public final POJONode POJONode(Object pojo) { return _nodeFactory.POJONode(pojo); }
return nodeFactory.POJONode(ob);
thisNode = JsonNodeFactory.instance.POJONode(invoke);
@Test public void test() throws JsonGenerationException, JsonMappingException, IOException { ObjectNode on = JsonNodeFactory.instance.objectNode(); BasicDBObject dbo = new BasicDBObject(); dbo.put("f1", null); dbo.put("f2", "f2value"); POJONode pn = JsonNodeFactory.instance.POJONode(dbo); on.put("properties", pn); ObjectMapper om = new ObjectMapper(); String value = om.writeValueAsString(on); System.out.println(value); } }
return nodeFactory.POJONode(ob);
return nodeFactory.POJONode(jp.getEmbeddedObject());