Package com.ibm.fhir.audit.cadf
Class CadfResource.Writer
- java.lang.Object
-
- com.ibm.fhir.audit.cadf.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)
-
-
-
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
-
-