Interface IJsonWritingContext
-
- All Superinterfaces:
IWritingContext<com.fasterxml.jackson.core.JsonGenerator>
- All Known Implementing Classes:
MetaschemaJsonWriter
public interface IJsonWritingContext extends IWritingContext<com.fasterxml.jackson.core.JsonGenerator>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
writeDefinitionValue(IClassBinding targetDefinition, Object targetObject, Map<String,? extends IBoundNamedInstance> instances)
Write the data described by the providedtargetDefinition
as a JSON value.-
Methods inherited from interface gov.nist.secauto.metaschema.databind.io.IWritingContext
getWriter
-
-
-
-
Method Detail
-
writeDefinitionValue
void writeDefinitionValue(@NonNull IClassBinding targetDefinition, @NonNull Object targetObject, @NonNull Map<String,? extends IBoundNamedInstance> instances) throws IOException
Write the data described by the providedtargetDefinition
as a JSON value.- Parameters:
targetDefinition
- the bound Module definition describing the structure of the JSON data to writetargetObject
- the Java object data to writeinstances
- the set of named instances to write- Throws:
IOException
- if an error occurred while writing the JSON
-
-