alibaba / alibaba/yalantinglibs
Support conversion between struct_pack and json without field names
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 327
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 2
Description
### What happened + What you expected to happen
There are the following structures:
```C++
struct person {
int64_t id;
std::string name;
int age;
double salary;
};
```
Can be converted to:
```JSON
[1, "name", 1, 1.333333]
```
### Reproduction way
n/a
### Anything else
n/a
### Are you willing to submit a PR?
n/a
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names struct_pack and JSON conversion but provides no files, tests, or entry points. Begin by locating those components in the repository and comparing their existing conversion behavior; done means the shown person structure converts to the requested positional JSON array without field names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100