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
The generation of formatted JSON results from result.formatJSON(new JSONFormat().format(true)) is off. E.g. this:
result.formatJSON(new JSONFormat().format(true))
Result<Record2<String, Record2<String, String>>> result = create.newResult(FIELD_NAME1, rowField(row(FIELD_NAME1, FIELD_NAME2))); result.add(record("a", record("b", "c"))); result.add(record("x", record("y", "z")));
Should produce something like this:
[ [ "a", [ "b", "c" ] ], [ "x", [ "y", "z" ] ] ]
But instead produces
Looks like the indentations are off.
The text was updated successfully, but these errors were encountered:
Both record layouts are affected: arrays and objects.
Sorry, something went wrong.
The implementation of #7782 is wrong. Our tests seem to have covered only unformatted output, which is correct.
[#13138] Bad JSONFormat rendering of nested records
9575c38
Fixed in jOOQ 3.17.0, 3.16.5 (#13140), and 3.15.9 (#13141)
179eea4
f77cc9d
No branches or pull requests
The generation of formatted JSON results from
result.formatJSON(new JSONFormat().format(true))
is off. E.g. this:Should produce something like this:
But instead produces
Looks like the indentations are off.
The text was updated successfully, but these errors were encountered: