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

嵌套json不知道具体的字段,只做转发用,好像不能解析 #34

Closed
shl-hsn opened this issue May 14, 2020 · 1 comment
Closed

Comments

@shl-hsn
Copy link

shl-hsn commented May 14, 2020

data
{
"a": "1",
"extend": {"b": "1", "c": "1", "d": "1", "e": "1", "f": "1", }
}
像这样的 extend 字段,是扩展字段,不知道具体的 字段 有哪些,只是将这个字段做一个转发。
这种情况能不能支持。

我这边用其他 json 库,是直接把 extend 解析成 string 类型

@xyz347
Copy link
Owner

xyz347 commented Jun 17, 2022

x2struct不维护了,可以用xpack:https://github.com/xyz347/xpack#flag
用JsonData这个类型

@xyz347 xyz347 closed this as completed 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

2 participants