> For the complete documentation index, see [llms.txt](https://deeplearning4j.konduit.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deeplearning4j.konduit.ai/zhong-wen-v1.0.0/datavec/xu-lie-hua.md).

# 序列化

## 序列化转换

数据向量附带系列化转换的能力，这允许在生产环境需要转换时它们更加可移植。一个TransformProcess（转换过程）被序列化为一个人类可读的格式，例如JSON，并且可以保存为文件。

## 序列化

如下这行代码展示了你可以如何系列化转换过程 tp对象

```java
String serializedTransformString = tp.toJson()
```

## 反序列化

当你想要重新实例化转换过程的时候，调用静态方法fromJson

```java
TransformProcess tp = TransformProcess.fromJson(serializedTransformString)
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://deeplearning4j.konduit.ai/zhong-wen-v1.0.0/datavec/xu-lie-hua.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
