public interface JSONValue
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
emitJSON(com.fasterxml.jackson.databind.node.JsonNodeFactory factory,
ModelExecutionPhase phase)
Defines the result of reading this datatype as JSON.
|
simudyne.core.schema.SchemaRecord |
getRecord()
Defines schema for this data type.
|
default com.fasterxml.jackson.databind.JsonNode |
getSchema(com.fasterxml.jackson.databind.node.JsonNodeFactory factory)
Defines the avro schema for the result of reading this datatype as JSON.
|
ValueRecord |
getValues(ModelExecutionPhase phase)
Defines values for this data type.
|
default void |
receiveJSON(com.fasterxml.jackson.databind.JsonNode input,
ModelExecutionPhase phase)
Allows the writing of JSON to this datatype.
|
com.fasterxml.jackson.databind.JsonNode emitJSON(com.fasterxml.jackson.databind.node.JsonNodeFactory factory, ModelExecutionPhase phase)
factory
- Jackson JsonNodeFactory for constructing output JSON nodes.phase
- A ModelExecutionPhase
denoting the current state of execution for the
model.JsonNode
representing the type as JSON.default com.fasterxml.jackson.databind.JsonNode getSchema(com.fasterxml.jackson.databind.node.JsonNodeFactory factory)
factory
- Jackson ObjectNode for constructing output JSON nodes.JsonNode
representing the schema as JSON.default void receiveJSON(com.fasterxml.jackson.databind.JsonNode input, ModelExecutionPhase phase)
JsonNode
input, and the phase of execution for the model.input
- A JsonNode
representing the input as JSON.phase
- A ModelExecutionPhase
denoting the current state of execution for the
model.simudyne.core.schema.SchemaRecord getRecord()
ValueRecord getValues(ModelExecutionPhase phase)