Comments (6)
As this is isn't a focus area / priority of mine, it will be up to you to do some leg work on investigating this.
from toml.
If/when we add position information, a next step is to see if we can infer an inserted values position based on the parent dotted table. This would have us automatically organize new keys as is encouraged in the TOML spec
from toml.
Has there been any progress on this?
from toml.
Generally, if there were, they'd already be posted here or in a linked issue
Overall, the use of dotted keys seems small and alt ordering being even smaller as its non-idiomatic, that this hasn't been a priority for me. If someone else wants to pick up the work, they are welcome to.
from toml.
Thanks, I was just curious as I'm thinking about making Python bindings.
from toml.
Hi! Drive by question:
What/where is the struct or tree holding the collection of values dotted and otherwise and how can we make that type and its underlying values types "sort" in insertion order?
from toml.
Related Issues (20)
- Dependency on GLIBC introduced by toml::to_string function HOT 1
- Document `Item::None` return values HOT 1
- Examples need improvement - missing basic example that reads from a file, not a string variable. HOT 1
- toml_edit: Confusing deprecation message - decor_mut states it's deprecated in favour of itself
- Deprecated field warning during deserialization HOT 4
- Inconsistencies between documentation and code implementation HOT 2
- Replacing an `InlineTable` with a comment with a `Table` results in invalid syntax HOT 2
- inclusion of another toml file and variable substitution HOT 2
- Time doesn't implement Serialize and Deserialize HOT 5
- Remove `Item` support from `Document`s API HOT 2
- Stack Overflow with Specific Optimization Levels When Running Test Cases HOT 6
- Fix u64 deserialization HOT 6
- Multi-line k/v pairs HOT 1
- Serialization of keys varies depending on whether the feature flag "parse" is enabled
- Array of Tables `remove` does not return the removed table
- Implement `From<inner type>` for `Item`
- Decor in `DocumentMut` is ignored HOT 2
- Feature proposal: Type-safe decor mutation API HOT 1
- Allow to create `Decor` instances with optional prefix or suffix
- How to serialize/deserialize while preserving formats with `toml_edit`? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toml.