string_deserializer class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.serialization
Summary
Takes a string generated by the serializer and deserializes it into DPF's entities.
available inputs: stream_type (Int32), serialized_string1 (string), serialized_string2 (string)
available outputs: any_output1 (object), any_output2 (object)
Example
op = string_deserializer()
op = string_deserializer(stream_type=my_stream_type,serialized_string1=my_serialized_string1,serialized_string2=my_serialized_string2)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.serialization |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
stream_type
0 for string (default), and 1 for binary
Type: LinkableInput
serialized_string1
Type: LinkableInput
serialized_string2
Type: LinkableInput
Outputs
any_output1
number and types of outputs corresponding of the inputs used in the serialization
Type: LinkableOutput
any_output2
number and types of outputs corresponding of the inputs used in the serialization
Type: LinkableOutput
Constructors
Constructor
string_deserializer()
Constructor
string_deserializer(stream_type, serialized_string1, serialized_string2, config)
Parameters:
stream_type(object)serialized_string1(object)serialized_string2(object)config(OperatorConfig)
Constructor
string_deserializer(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig