docs: align the remaining Decoder and Encoder mentions with the options API
Test / test (push) Successful in 1m41s
Test / test (push) Successful in 1m41s
Assisted-by: GLM 5.3 Flash
This commit is contained in:
@@ -26,7 +26,7 @@ the entire official [toml-test](https://github.com/toml-lang/toml-test) suite:
|
||||
- **Ordered documents**: `Parse` gives a `*Document` that keeps the key order,
|
||||
tells an inline table from a header one, and carries the comments; `ParseMap`
|
||||
gives the plain `map[string]any` tree.
|
||||
- **Configurable emission**: `Encoder` options for declaration-order output,
|
||||
- **Configurable emission**: `Marshal` options for declaration-order output,
|
||||
omitting empty arrays, literal multiline strings, and inlining small
|
||||
sub-tables.
|
||||
|
||||
@@ -54,8 +54,7 @@ just example
|
||||
```
|
||||
|
||||
`just example` runs the tour in `examples/basic`: it decodes an embedded
|
||||
document into a struct, prints it, and re-encodes it under both `Encoder`
|
||||
layouts.
|
||||
document into a struct, prints it, and re-encodes it under both layouts.
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user