java/webservice/src/main/java/be/bosa/dt/best/webservice/serializers/AddressSerializer.java
/**
	 * Write best entity as object with ID and HTTP URI (used to point to embedded object)
	 * 
	 * @param jg JSON writer
	 * @param field field name
	 * @param id full identifier
	 * @param type entity type
	 * @throws IOException 
	 */
Write best entity as object with ID and HTTP URI (used to point to embedded object)


Write best entity as object with ID and HTTP URI ( used to point to embedded object )
private void writeObject(JsonGenerator jg, String field, String id, String type) throws IOException {
		jg.writeObjectFieldStart(field);
		jg.writeStringField("id", id);
		jg.writeStringField("href", getHref(type, id));
		jg.writeEndObject();
	}
private void writeObject ( JsonGenerator jg , String field , String id , String type ) throws IOException { jg . writeObjectFieldStart ( field ) ; jg . writeStringField ( "id" , id ) ; jg . writeStringField ( "href" , getHref ( type , id ) ) ; jg . writeEndObject ( ) ; }
Write best entity as object with ID and HTTP URI (used to point to embedded object)
Write best entity as object with ID and HTTP URI ( used to point to embedded object )