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

Improve json/c++ name-mapping #16

Open
jgaa opened this issue Jun 12, 2017 · 1 comment
Open

Improve json/c++ name-mapping #16

jgaa opened this issue Jun 12, 2017 · 1 comment
Assignees
Milestone

Comments

@jgaa
Copy link
Owner

jgaa commented Jun 12, 2017

The current implementation works only on the root-level of the serialization. We need to map the mapping to a class, so that it works also for recursive properties.

One potential implementation is to use traits, where the mapping is pinned to a class at compile-time trough templates. Another option is to make the mapping configurable during runtime, by assigning it to classid's, and provide a list of such mappings to the serializer.

@jgaa jgaa self-assigned this Jun 12, 2017
@jgaa jgaa added this to the RELEASE milestone Dec 14, 2017
@CrazyKidJack
Copy link

I just wanted to say that this is the biggest feature request I have. Most APIs don't return ONLY the data you want. There are usually some meta-data fields in the response as well and it often is nested in several levels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants