alibaba / alibaba/yalantinglibs

Support conversion between struct_pack and json without field names

Open
#748 1 comment 0 reactions 0 assignees View on GitHub
enhancement
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.