> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# string_deserializer class

**Namespace:** [Ans.DataProcessing.operators.serialization](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/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

```python theme={null}
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

```python theme={null}
string_deserializer()
```

#### Constructor

```python theme={null}
string_deserializer(stream_type, serialized_string1, serialized_string2, config)
```

**Parameters:**

* `stream_type` (*object*)
* `serialized_string1` (*object*)
* `serialized_string2` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
string_deserializer(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
