Class CadfResource.Writer

  • Enclosing class:
    CadfResource

    public static class CadfResource.Writer
    extends java.lang.Object
    Generates JSON from this object.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String generate​(CadfResource obj)  
      static void generate​(CadfResource obj, jakarta.json.stream.JsonGenerator generator)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • generate

        public static java.lang.String generate​(CadfResource obj)
                                         throws java.io.IOException
        Parameters:
        obj -
        Returns:
        Throws:
        java.io.IOException
      • generate

        public static void generate​(CadfResource obj,
                                    jakarta.json.stream.JsonGenerator generator)
                             throws java.io.IOException
        Throws:
        java.io.IOException