Skip to content

RS 3001: modernize par. Serialization to the latest conventions - #6

Merged
ronaldtse merged 1 commit into
mainfrom
rs3001/serialization-conventions
Oct 5, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
rs3001/serialization-conventions

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Aligns the serialization section with the implemented conventions: element (not root), no_root removed (omit the element declaration — type-only models), mapping blocks, juxtaposition map lines, to_instance/as_attribute qualifiers, namespace declarations.

- root -> element throughout; no_root removed in favor of omitting the
  element declaration (type-only models), with a deprecation note
- in-class xml/yaml/json/toml blocks -> mapping <format> blocks; the
  sibling mapping xml <Class> form documented as canonical
- brace-wrapped mapping arguments (map_element "x" { attribute x })
  -> LML juxtaposition (map_element "x" x); map_key/map_value use the
  to_instance qualifier keyword
- declaration list updated (element, namespace, map_content,
  mixed_content)
@ronaldtse
ronaldtse merged commit 510ab69 into main Oct 5, 2026
5 checks passed
@ronaldtse
ronaldtse deleted the rs3001/serialization-conventions branch October 5, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant