Comments (3)
Hello, thank you for trying it out!
I tried with your conf snippet, it si loading for me, you can see here
What is the issue you're facing?
from hocon.rs.
Oh, Sorry, only after opening this it occurred to me that this setting might be in serde instead:
I was looking at this exact moment to create a minimal snippet for you.
https://serde.rs/attr-rename.html
e.g.
#[derive(Serialize)]
#[serde(rename_all = "kebab-case")]
struct Person {
first_name: String,
last_name: String,
}
that works.
from hocon.rs.
Thank you a lot. Sorry for the false alarm.
from hocon.rs.
Related Issues (20)
- "file could not be parsed completely" with trailing CRLF newline HOT 1
- `HoconLoader.load_file` always loads empty object HOT 7
- Panic when loading hocon document, for entering unreachable code HOT 10
- panic when using the `=+` field separator on. an array that was substituted
- Expose full path information when missing field when deserializing using serde HOT 3
- Provide path for each Hocon node HOT 1
- Remove failure-crate in favor of thiserror-crate
- std::time::Duration is an invalid type for "1 second" HOT 1
- load_file doesnt fail with non-existent file HOT 4
- Error deserializing: missing field when chaining load_file&resolve HOT 2
- Failure parsing file with CRLF line endings
- How can I deserialize an enum in struct? HOT 1
- Auto-unescape strings and handle unicode escape sequences in strings HOT 1
- Remove dependency on Openssl
- size unit format deserialize by Serde error
- Losing `.0` (dot zero) in unquoted strings HOT 1
- Extra-ASCII characters in unquoted strings errors out
- Included substitution is inconsistent with Typesafe Config
- null without a comma at the end is Hocon::String("null"), not Hocon::null
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 hocon.rs.