65.9K
CodeProject is changing. Read more.
Home

StructMapping - Mapping JSON to and from a C++ Structure

starIconstarIconstarIconstarIconstarIcon

5.00/5 (9 votes)

May 1, 2022

MIT

8 min read

viewsIcon

41755

downloadIcon

507

I would like to define a C++ structure, pass the person instance to the mapping method along with JSON data, then use the filled structure. Or vice versa, get Person as JSON. StructMapping is trying to solve these problems.