Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate parsing sub-members as member #299

Open
beached opened this issue Jun 17, 2022 · 0 comments
Open

Investigate parsing sub-members as member #299

beached opened this issue Jun 17, 2022 · 0 comments
Milestone

Comments

@beached
Copy link
Owner

beached commented Jun 17, 2022

Investigate allowing the parsing of submembers. e.g

{ "a": { "b": 5 } }

The transformation would be potentially lossy

Possible mapping syntax

json_submember<"a", "b", json_number_no_name<int>>

Where "b" can use the path syntax, e.g "b.c" would mean a class like

{ "a": { "b": { "c": 5 } } }
@beached beached added this to the v4.0 milestone Jun 17, 2022
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

No branches or pull requests

1 participant