Class ContactWriter


  • public class ContactWriter
    extends Object
    This write the Contact to json
    Author:
    Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
    See Also:
    contactObject
    • Method Detail

      • writeContact

        public static void writeContact​(com.fasterxml.jackson.databind.node.ObjectNode parent,
                                        org.eclipse.microprofile.openapi.models.info.Contact model)
        Writes the Contact model to the JSON tree.
        Parameters:
        parent - the parent json node
        model - the Contact model