This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch fix_quick_example in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit c4297a70f00e5ae5fd6cbe388e0d9940e643a182 Author: chaokunyang <[email protected]> AuthorDate: Tue Jan 13 19:41:07 2026 +0800 fix doc id --- docs/introduction/overview.md | 4 ++-- .../current/guide/kotlin/default-values.md | 2 +- .../current/guide/kotlin/fory-creation.md | 2 +- .../docusaurus-plugin-content-docs/current/guide/kotlin/index.md | 2 +- .../current/guide/kotlin/type-serialization.md | 2 +- .../current/guide/scala/default-values.md | 2 +- .../current/guide/scala/fory-creation.md | 2 +- .../zh-CN/docusaurus-plugin-content-docs/current/guide/scala/index.md | 2 +- .../current/guide/scala/type-serialization.md | 2 +- .../docusaurus-plugin-content-docs/version-0.10/guide/scala_guide.md | 2 +- .../docusaurus-plugin-content-docs/version-0.11/guide/scala_guide.md | 2 +- .../version-0.11/specification/java_serialization_spec.md | 2 +- .../version-0.11/specification/row_format_spec.md | 2 +- .../version-0.11/specification/xlang_serialization_spec.md | 2 +- .../docusaurus-plugin-content-docs/version-0.12/guide/scala_guide.md | 2 +- .../docusaurus-plugin-content-docs/version-0.13/guide/scala_guide.md | 2 +- .../version-0.14/guide/kotlin/default-values.md | 2 +- .../version-0.14/guide/kotlin/fory-creation.md | 2 +- .../docusaurus-plugin-content-docs/version-0.14/guide/kotlin/index.md | 2 +- .../version-0.14/guide/kotlin/type-serialization.md | 2 +- .../version-0.14/guide/scala/default-values.md | 2 +- .../version-0.14/guide/scala/fory-creation.md | 2 +- .../docusaurus-plugin-content-docs/version-0.14/guide/scala/index.md | 2 +- .../version-0.14/guide/scala/type-serialization.md | 2 +- versioned_docs/version-0.10/guide/scala_guide.md | 2 +- versioned_docs/version-0.10/specification/java_serialization_spec.md | 2 +- versioned_docs/version-0.10/specification/row_format_spec.md | 2 +- versioned_docs/version-0.10/specification/xlang_serialization_spec.md | 2 +- versioned_docs/version-0.11/guide/scala_guide.md | 2 +- versioned_docs/version-0.12/guide/scala_guide.md | 2 +- versioned_docs/version-0.13/guide/scala_guide.md | 2 +- versioned_docs/version-0.14/guide/kotlin/default-values.md | 2 +- versioned_docs/version-0.14/guide/kotlin/fory-creation.md | 2 +- versioned_docs/version-0.14/guide/kotlin/index.md | 2 +- versioned_docs/version-0.14/guide/kotlin/type-serialization.md | 2 +- versioned_docs/version-0.14/guide/scala/default-values.md | 2 +- versioned_docs/version-0.14/guide/scala/fory-creation.md | 2 +- versioned_docs/version-0.14/guide/scala/index.md | 2 +- versioned_docs/version-0.14/guide/scala/type-serialization.md | 2 +- versioned_docs/version-0.14/introduction/overview.md | 4 ++-- 40 files changed, 42 insertions(+), 42 deletions(-) diff --git a/docs/introduction/overview.md b/docs/introduction/overview.md index 0086e28b5..ae0341c6b 100644 --- a/docs/introduction/overview.md +++ b/docs/introduction/overview.md @@ -46,7 +46,7 @@ from dataclasses import dataclass @dataclass class User: name: str - age: int + age: pyfory.int32 fory = pyfory.Fory(xlang=True) fory.register(User, type_id=1) @@ -54,7 +54,7 @@ fory.register(User, type_id=1) user = User(name="Alice", age=30) data = fory.serialize(user) decoded = fory.deserialize(data) -print(decoded.name, decoded.age) # Alice 30 +print(decoded) # User(name='Alice', age=30) ``` ## Key Features diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/default-values.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/default-values.md index 76c1882a6..cba994383 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/default-values.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/default-values.md @@ -1,7 +1,7 @@ --- title: Default Values sidebar_position: 3 -id: kotlin_default_values +id: default_values license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/fory-creation.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/fory-creation.md index 1ccf6ff2c..54b06f371 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/fory-creation.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/fory-creation.md @@ -1,7 +1,7 @@ --- title: Fory Creation sidebar_position: 1 -id: kotlin_fory_creation +id: fory_creation license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/index.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/index.md index 9c3f91312..33412b125 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/index.md @@ -1,7 +1,7 @@ --- title: Kotlin Serialization Guide sidebar_position: 0 -id: kotlin_serialization_index +id: serialization_index license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/type-serialization.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/type-serialization.md index c555245e8..26b6de0a7 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/type-serialization.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/kotlin/type-serialization.md @@ -1,7 +1,7 @@ --- title: Type Serialization sidebar_position: 2 -id: kotlin_type_serialization +id: type_serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/default-values.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/default-values.md index 6c13178f0..92e62e1b0 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/default-values.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/default-values.md @@ -1,7 +1,7 @@ --- title: Default Values sidebar_position: 3 -id: scala_default_values +id: default_values license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/fory-creation.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/fory-creation.md index 278d72318..2013a06da 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/fory-creation.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/fory-creation.md @@ -1,7 +1,7 @@ --- title: Fory Creation sidebar_position: 1 -id: scala_fory_creation +id: fory_creation license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/index.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/index.md index d4ca53aae..62f6753f7 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/index.md @@ -1,7 +1,7 @@ --- title: Scala 序列化 sidebar_position: 3 -id: scala_serialization +id: serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/type-serialization.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/type-serialization.md index f8b8107e1..56dbc30f5 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/type-serialization.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/guide/scala/type-serialization.md @@ -1,7 +1,7 @@ --- title: Type Serialization sidebar_position: 2 -id: scala_type_serialization +id: type_serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/guide/scala_guide.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/guide/scala_guide.md index f07e9ccf1..a1e0e65ae 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/guide/scala_guide.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/guide/scala_guide.md @@ -1,7 +1,7 @@ --- title: Scala 序列化指南 sidebar_position: 4 -id: scala_serialization +id: serialization --- Apache Fury 支持所有 Scala 对象序列化: diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/guide/scala_guide.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/guide/scala_guide.md index 90fccadcd..2a36ec47c 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/guide/scala_guide.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/guide/scala_guide.md @@ -1,7 +1,7 @@ --- title: Scala 序列化 sidebar_position: 4 -id: scala_serialization +id: serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/java_serialization_spec.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/java_serialization_spec.md index 9ff3e9556..3ad96c9df 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/java_serialization_spec.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/java_serialization_spec.md @@ -1,7 +1,7 @@ --- title: Java Serialization Format sidebar_position: 1 -id: fory_java_serialization_spec +id: java_serialization_spec license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/row_format_spec.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/row_format_spec.md index c83dadde6..3ffaaba8b 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/row_format_spec.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/row_format_spec.md @@ -1,7 +1,7 @@ --- title: Row Format sidebar_position: 2 -id: fory_row_format_spec +id: row_format_spec license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/xlang_serialization_spec.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/xlang_serialization_spec.md index 7a1c60199..8205a3194 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/xlang_serialization_spec.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/specification/xlang_serialization_spec.md @@ -1,7 +1,7 @@ --- title: Xlang Serialization Format sidebar_position: 0 -id: fory_xlang_serialization_spec +id: xlang_serialization_spec license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.12/guide/scala_guide.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.12/guide/scala_guide.md index 49dd8dee5..1646b8f8c 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.12/guide/scala_guide.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.12/guide/scala_guide.md @@ -1,7 +1,7 @@ --- title: Scala 序列化 sidebar_position: 4 -id: scala_serialization +id: serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.13/guide/scala_guide.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.13/guide/scala_guide.md index d4ca53aae..62f6753f7 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.13/guide/scala_guide.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.13/guide/scala_guide.md @@ -1,7 +1,7 @@ --- title: Scala 序列化 sidebar_position: 3 -id: scala_serialization +id: serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/default-values.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/default-values.md index 283ef4ccf..cf3c123ba 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/default-values.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/default-values.md @@ -1,7 +1,7 @@ --- title: 默认值 sidebar_position: 3 -id: kotlin_default_values +id: default_values license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/fory-creation.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/fory-creation.md index 958cb3ea7..178bf9f61 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/fory-creation.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/fory-creation.md @@ -1,7 +1,7 @@ --- title: Fory 创建 sidebar_position: 1 -id: kotlin_fory_creation +id: fory_creation license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/index.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/index.md index 73b96000c..64841805c 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/index.md @@ -1,7 +1,7 @@ --- title: Kotlin 序列化指南 sidebar_position: 0 -id: kotlin_serialization_index +id: serialization_index license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/type-serialization.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/type-serialization.md index 4d519d7ef..5663a5b83 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/type-serialization.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/kotlin/type-serialization.md @@ -1,7 +1,7 @@ --- title: 类型序列化 sidebar_position: 2 -id: kotlin_type_serialization +id: type_serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/default-values.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/default-values.md index e1038d9c3..04fd8dc0d 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/default-values.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/default-values.md @@ -1,7 +1,7 @@ --- title: 默认值 sidebar_position: 3 -id: scala_default_values +id: default_values license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/fory-creation.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/fory-creation.md index 1fa3945db..feba91dd4 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/fory-creation.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/fory-creation.md @@ -1,7 +1,7 @@ --- title: Fory 创建 sidebar_position: 1 -id: scala_fory_creation +id: fory_creation license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/index.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/index.md index c3ec639fe..3ca3b3fc5 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/index.md @@ -1,7 +1,7 @@ --- title: Scala 序列化指南 sidebar_position: 0 -id: scala_serialization_index +id: serialization_index license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/type-serialization.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/type-serialization.md index 8dd8eafdd..8c861e257 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/type-serialization.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.14/guide/scala/type-serialization.md @@ -1,7 +1,7 @@ --- title: 类型序列化 sidebar_position: 2 -id: scala_type_serialization +id: type_serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.10/guide/scala_guide.md b/versioned_docs/version-0.10/guide/scala_guide.md index 789995641..25fe29297 100644 --- a/versioned_docs/version-0.10/guide/scala_guide.md +++ b/versioned_docs/version-0.10/guide/scala_guide.md @@ -1,7 +1,7 @@ --- title: Scala Serialization sidebar_position: 4 -id: scala_serialization +id: serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.10/specification/java_serialization_spec.md b/versioned_docs/version-0.10/specification/java_serialization_spec.md index 70300111b..56b8998b4 100644 --- a/versioned_docs/version-0.10/specification/java_serialization_spec.md +++ b/versioned_docs/version-0.10/specification/java_serialization_spec.md @@ -1,7 +1,7 @@ --- title: Fury Java Serialization Format sidebar_position: 1 -id: fury_java_serialization_spec +id: java_serialization_spec license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.10/specification/row_format_spec.md b/versioned_docs/version-0.10/specification/row_format_spec.md index eefd9d979..1ce72af45 100644 --- a/versioned_docs/version-0.10/specification/row_format_spec.md +++ b/versioned_docs/version-0.10/specification/row_format_spec.md @@ -1,7 +1,7 @@ --- title: Fury Row Format sidebar_position: 2 -id: fury_row_format_spec +id: row_format_spec license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.10/specification/xlang_serialization_spec.md b/versioned_docs/version-0.10/specification/xlang_serialization_spec.md index f25b2c618..cfb752b62 100644 --- a/versioned_docs/version-0.10/specification/xlang_serialization_spec.md +++ b/versioned_docs/version-0.10/specification/xlang_serialization_spec.md @@ -1,7 +1,7 @@ --- title: Fury Xlang Serialization Format sidebar_position: 0 -id: fury_xlang_serialization_spec +id: xlang_serialization_spec license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.11/guide/scala_guide.md b/versioned_docs/version-0.11/guide/scala_guide.md index b17e587bc..85e4d9d79 100644 --- a/versioned_docs/version-0.11/guide/scala_guide.md +++ b/versioned_docs/version-0.11/guide/scala_guide.md @@ -1,7 +1,7 @@ --- title: Scala Serialization sidebar_position: 4 -id: scala_serialization +id: serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.12/guide/scala_guide.md b/versioned_docs/version-0.12/guide/scala_guide.md index 3e4968f04..8a2baaa49 100644 --- a/versioned_docs/version-0.12/guide/scala_guide.md +++ b/versioned_docs/version-0.12/guide/scala_guide.md @@ -1,7 +1,7 @@ --- title: Scala Serialization sidebar_position: 4 -id: scala_serialization +id: serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.13/guide/scala_guide.md b/versioned_docs/version-0.13/guide/scala_guide.md index c3ab0ba8e..574e60268 100644 --- a/versioned_docs/version-0.13/guide/scala_guide.md +++ b/versioned_docs/version-0.13/guide/scala_guide.md @@ -1,7 +1,7 @@ --- title: Scala Serialization sidebar_position: 3 -id: scala_serialization +id: serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.14/guide/kotlin/default-values.md b/versioned_docs/version-0.14/guide/kotlin/default-values.md index 76c1882a6..cba994383 100644 --- a/versioned_docs/version-0.14/guide/kotlin/default-values.md +++ b/versioned_docs/version-0.14/guide/kotlin/default-values.md @@ -1,7 +1,7 @@ --- title: Default Values sidebar_position: 3 -id: kotlin_default_values +id: default_values license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.14/guide/kotlin/fory-creation.md b/versioned_docs/version-0.14/guide/kotlin/fory-creation.md index 1ccf6ff2c..54b06f371 100644 --- a/versioned_docs/version-0.14/guide/kotlin/fory-creation.md +++ b/versioned_docs/version-0.14/guide/kotlin/fory-creation.md @@ -1,7 +1,7 @@ --- title: Fory Creation sidebar_position: 1 -id: kotlin_fory_creation +id: fory_creation license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.14/guide/kotlin/index.md b/versioned_docs/version-0.14/guide/kotlin/index.md index 9c3f91312..33412b125 100644 --- a/versioned_docs/version-0.14/guide/kotlin/index.md +++ b/versioned_docs/version-0.14/guide/kotlin/index.md @@ -1,7 +1,7 @@ --- title: Kotlin Serialization Guide sidebar_position: 0 -id: kotlin_serialization_index +id: serialization_index license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.14/guide/kotlin/type-serialization.md b/versioned_docs/version-0.14/guide/kotlin/type-serialization.md index c555245e8..26b6de0a7 100644 --- a/versioned_docs/version-0.14/guide/kotlin/type-serialization.md +++ b/versioned_docs/version-0.14/guide/kotlin/type-serialization.md @@ -1,7 +1,7 @@ --- title: Type Serialization sidebar_position: 2 -id: kotlin_type_serialization +id: type_serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.14/guide/scala/default-values.md b/versioned_docs/version-0.14/guide/scala/default-values.md index 6c13178f0..92e62e1b0 100644 --- a/versioned_docs/version-0.14/guide/scala/default-values.md +++ b/versioned_docs/version-0.14/guide/scala/default-values.md @@ -1,7 +1,7 @@ --- title: Default Values sidebar_position: 3 -id: scala_default_values +id: default_values license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.14/guide/scala/fory-creation.md b/versioned_docs/version-0.14/guide/scala/fory-creation.md index 278d72318..2013a06da 100644 --- a/versioned_docs/version-0.14/guide/scala/fory-creation.md +++ b/versioned_docs/version-0.14/guide/scala/fory-creation.md @@ -1,7 +1,7 @@ --- title: Fory Creation sidebar_position: 1 -id: scala_fory_creation +id: fory_creation license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.14/guide/scala/index.md b/versioned_docs/version-0.14/guide/scala/index.md index 000318698..6ed4c0369 100644 --- a/versioned_docs/version-0.14/guide/scala/index.md +++ b/versioned_docs/version-0.14/guide/scala/index.md @@ -1,7 +1,7 @@ --- title: Scala Serialization Guide sidebar_position: 0 -id: scala_serialization_index +id: serialization_index license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.14/guide/scala/type-serialization.md b/versioned_docs/version-0.14/guide/scala/type-serialization.md index f8b8107e1..56dbc30f5 100644 --- a/versioned_docs/version-0.14/guide/scala/type-serialization.md +++ b/versioned_docs/version-0.14/guide/scala/type-serialization.md @@ -1,7 +1,7 @@ --- title: Type Serialization sidebar_position: 2 -id: scala_type_serialization +id: type_serialization license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with diff --git a/versioned_docs/version-0.14/introduction/overview.md b/versioned_docs/version-0.14/introduction/overview.md index 91592acb1..3adfaada4 100644 --- a/versioned_docs/version-0.14/introduction/overview.md +++ b/versioned_docs/version-0.14/introduction/overview.md @@ -46,7 +46,7 @@ from dataclasses import dataclass @dataclass class User: name: str - age: int + age: pyfory.int32 fory = pyfory.Fory(xlang=True) fory.register(User, type_id=1) @@ -54,7 +54,7 @@ fory.register(User, type_id=1) user = User(name="Alice", age=30) data = fory.serialize(user) decoded = fory.deserialize(data) -print(decoded.name, decoded.age) # Alice 30 +print(decoded) # User(name='Alice', age=30) ``` ## Key Features --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
