This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git

commit 5850181ec120223d9c29b91e3f8d741c6777ca0e
Author: chaokunyang <[email protected]>
AuthorDate: Sun Oct 12 17:08:50 2025 +0000

    🔄 synced local 'docs/specification/' with remote 'docs/specification/'
---
 docs/specification/xlang_serialization_spec.md | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

diff --git a/docs/specification/xlang_serialization_spec.md 
b/docs/specification/xlang_serialization_spec.md
index d44590c37..4b562de27 100644
--- a/docs/specification/xlang_serialization_spec.md
+++ b/docs/specification/xlang_serialization_spec.md
@@ -781,24 +781,11 @@ Field will be ordered as following, every group of fields 
will have its own orde
   - when same size and type id, sort by snake case field name
   - types: 
bool/int8/int16/int32/varint32/int64/varint64/sliint64/float16/float32/float64
 - nullable primitive fields: same order as primitive fields
-- morphic fields: same type together, then sorted by field name 
lexicographically using snake case style.
-- unknown fields: same sort algorithms as morphic fields
-- list fields: same sort algorithms as morphic fields
-- set fields: same sort algorithms as morphic fields
-- map fields: same sort algorithms as morphic fields
-
-#### Field order
-
-Fields in a struct are sorted in a ascending order by:
-
-- primitive fields first: 
bool/int8/int16/int32/varint32/int64/varint64/sliint64/float16/float32/float64, 
sorted by
-  type id.
-- nullable primitive fields
-- morphic types except `list/set/map`
-- unknown types
-- list types
-- set types
-- map types
+- other internal type fields: sort by type id then snake case field name
+- list fields: sort by snake case field name
+- set fields: sort by snake case field name
+- map fields: sort by snake case field name
+- other fields: sort by snake case field name
 
 If two fields have same type, then sort by snake_case styled field name.
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to