> ## 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.

# Ans.DataProcessing.operators.serialization Namespace

## Classes

| Class | Description |
| - | - |
| [csv\_to\_field](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/csv_to_field.md) | transform csv file to a field or fields container   ///available inputs: time\_scoping (Scoping) (optional), data\_sources (DataSources) |
| | |
| \[data\_tree\_to\_json]\_data\_tree\_to\_json.md) | Writes a json file or string from a DataTree   ///available inputs: data\_tree (DataTree), path (string) (optional) |
| | |
| [data\_tree\_to\_txt](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/data_tree_to_txt.md) | Writes a txt file or string from a DataTree   ///available inputs: data\_tree (DataTree), path (string) (optional) |
| | |
| [deserializer](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/deserializer.md) | Takes a file generated by the serializer and deserializes it into DPF's entities.   ///available inputs: stream\_type (Int32), file\_path (string) |
| | |
| [export\_symbolic\_workflow](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/export_symbolic_workflow.md) | Transforms a Workflow into a symbolic Workflow and writes it to a file (if a path is set in input) or string   ///available inputs: workflow (Workflow), path (string) (optional), format (Int32) (optional), options (Int32) (optional) |
| | |
| [field\_to\_csv](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/field_to_csv.md) | Exports a field or a fields container into a csv file   ///available inputs: field\_or\_fields\_container (FieldsContainer, Field), file\_path (string), storage\_type (Int32) (optional) |
| | |
| \[hdf5dpf\_custom\_readn\_hdf5dpf\_custom\_read.md) | Extract a custom result from an hdf5dpf file. This operator is deprecated, please use the 'custom' operator instead.   ///available inputs: time\_scoping (Scoping) (optional), mesh\_scoping (Scoping) (optional), streams (StreamsContainer) (optional), data\_sources (DataSources) (optional), meta\_data (DataTree) (optional), result\_name (object) |
| | |
| \[hdf5dpf\_generate\_resulization\_hdf5dpf\_generate\_result\_file.md) | Generate a dpf result file from provided information.   ///available inputs: h5\_chunk\_size (Int32) (optional), append\_mode (bool) (optional), dataset\_size\_compression\_threshold (Int32) (optional), h5\_native\_compression (Int32, DataTree) (optional), export\_floats (bool) (optional), filename (string), mesh\_provider\_out (MeshedRegion) (optional), time\_freq\_support\_out (TimeFreqSupport) (optional), ansys\_unit\_system\_id (Int32, ResultInfo) (optional), input\_name1 (string, object) (optional), input\_name2 (string, object) (optional) |
| | |
| \[import\_symbolic\_woization\_import\_symbolic\_workflow\.md) | Reads a file or string holding a Symbolic Workflow and instantiate a WorkFlow with its data.   ///available inputs: string\_or\_path (string, DataSources), format (Int32) (optional) |
| | |
| \[json\_to\_data\_trion\_json\_to\_data\_tree.md) | Reads a json file or string to a DataTree   ///available inputs: string\_or\_path (string, DataSources) |
| | |
| [mechanical\_csv\_to\_field](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/mechanical_csv_to_field.md) | Reads mechanical exported csv file   ///available inputs: unit (), mesh (MeshedRegion) (optional), data\_sources (DataSources), requested\_location (string, FieldDefinition) |
| | |
| [migrate\_file\_to\_vtk](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/migrate_file_to_vtk.md) | Take an input data sources or streams and convert as much data as possible to vtk.   ///available inputs: output\_filename (string) (optional), streams\_container (StreamsContainer) (optional), data\_sources (DataSources) (optional) |
| | |
| [serialize\_to\_hdf5](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/serialize_to_hdf5.md) | This operator is deprecated: use 'hdf5::h5dpf::make\_result\_file' instead. Serialize the inputs in an hdf5 format.   ///available inputs: file\_path (string), export\_floats (bool) (optional), export\_flat\_vectors (bool) (optional), data1 (object), data2 (object) |
| | |
| [serializer](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/serializer.md) | Take any input and serialize them in a file.   ///available inputs: stream\_type (Int32), file\_path (string), any\_input1 (object), any\_input2 (object) |
| | |
| [serializer\_to\_string](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/serializer_to_string.md) | Take any input and serialize them in a string.   ///available inputs: stream\_type (Int32), any\_input1 (object), any\_input2 (object) |
| | |
| [string\_deserializer](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/string_deserializer.md) | 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) |
| | |
| [txt\_to\_data\_tree](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/txt_to_data_tree.md) | Reads a txt file or string to a DataTree   ///available inputs: string\_or\_path (string, DataSources) |
| | |
| [vtk\_export](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/vtk_export.md) | Write the input field and fields container into a given vtk path   ///available inputs: export\_type (Int32) (optional), file\_path (string), mesh (MeshedRegion) (optional), fields1 (FieldsContainer, Field), fields2 (FieldsContainer, Field) |
| | |
| [vtk\_to\_fields](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/vtk_to_fields.md) | Write a field based on a vtk file.   ///available inputs: field\_name (string) (optional), streams (StreamsContainer) (optional), data\_sources (DataSources) |
| | |
| [workflow\_to\_pydpf](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/workflow_to_pydpf.md) | Generates a PyDPF script that can recreate the given workflow. |
| | |
| [workflow\_to\_workflow\_topology](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/serialization/workflow_to_workflow_topology.md) | Creates a GenericDataContainer based on WorkflowTopology structure from a Workflow object, allowing to access its operators, operator connections, data connections, and exposed pins.   ///available inputs: workflow (Workflow) |
| | |
