adams.flow.transformer.SetJsonValue
Sets a value in a JSON object, using the specified path.
The value can be either supplied as string using the 'value' property, obtained from a callable actor (property 'source') or from a storage item (property 'storage').
Flow input/output:
- input: net.minidev.json.JSONObject, java.lang.String
- output: net.minidev.json.JSONObject
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | SetJsonValue |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
The path (or key if not starting with '$') of the value(s) to retrieve.
command-line | -path <adams.core.base.JsonPathExpression> |
default |
|
more | https://github.com/json-path/JsonPath |
The value to set.
command-line | -value <java.lang.String> |
default |
|
Determines how to obtain the value to store in the map.
command-line | -type <VALUE|SOURCE|STORAGE> |
default | VALUE |
The callable source to obtain the value from.
command-line | -source <adams.flow.core.CallableActorReference> |
default | unknown |
The storage item to obtain the value from.
command-line | -storage <adams.flow.control.StorageName> |
default | storage |
The type of conversion to perform.
command-line | -conversion <adams.data.conversion.Conversion> |
default | adams.data.conversion.ObjectToObject |