Can we convert JSON dotted keys to nested TOML table? #833
Unanswered
dhruvmanila
asked this question in
Q&A
Replies: 1 comment
-
I don't know of anything doing this already. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Consider the following JSON:
which is first deserializes into a
serde_json
map:and then serializes into a TOML table:
What I actually want is that while serialization the dotted keys are split-up:
I'm aware that this could be done using a custom serializer but I was wondering if it's possible to do it already.
Beta Was this translation helpful? Give feedback.
All reactions