private void writeObject(JsonGenerator jsonGenerator,Object entity) throws IOException {
  jsonGenerator.writeStartObject();
  writeName(jsonGenerator,entity);
  writeKind(jsonGenerator,entity);
  writeURL(jsonGenerator,entity);
  jsonGenerator.writeEndObject();
}

private void writeObject ( JsonGenerator jsonGenerator , Object entity ) throws IOException { jsonGenerator . writeStartObject ( ) ; writeName ( jsonGenerator , entity ) ; writeKind ( jsonGenerator , entity ) ; writeURL ( jsonGenerator , entity ) ; jsonGenerator . writeEndObject ( ) ; }
build an embedded json object that will have key - value attributes like ' name ' and ' url ' ( they are must ) , ' title ' and ' kind ' .
