We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如何支持二维的数组呢 ,就是吧这样的二维的数据 怎么放入
@magicfield(order = 15, size = 4) private List<List> param = List.of( List.of(new UserInfo(), new UserInfo()), List.of(new UserInfo(), new UserInfo()), List.of(new UserInfo(), new UserInfo()), List.of(new UserInfo(), new UserInfo()) );
@MagicClass(byteOrder = ByteOrder.LITTLE_ENDIAN) @DaTa public static class UserInfo {
@MagicField(order = 7) private short name; @MagicField(order = 9) private byte age; } 如何支持二维的数组呢 ,就是吧这样的二维的数据 怎么放入 [ [{"name":"t","age":1},{"name":"t","age":1}], [{"name":"t","age":1},{"name":"t","age":1}], [{"name":"t","age":1},{"name":"t","age":1}]
]
The text was updated successfully, but these errors were encountered:
框架暂不支持二维数组的
Sorry, something went wrong.
No branches or pull requests
@magicfield(order = 15, size = 4)
private List<List> param = List.of(
List.of(new UserInfo(), new UserInfo()),
List.of(new UserInfo(), new UserInfo()),
List.of(new UserInfo(), new UserInfo()),
List.of(new UserInfo(), new UserInfo())
);
@MagicClass(byteOrder = ByteOrder.LITTLE_ENDIAN)
@DaTa
public static class UserInfo {
]
The text was updated successfully, but these errors were encountered: