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
toJSON on embedded properties should export compliant JSON. array of objects should be comma separated.
`[ { "a": "b" }, { "c": "d", "e": "f" }, { "g": { "h": "i" } } ]
should export as is.`
.toJSON don't insert commas in-between array elements [{"@type":"d","@version":0,"a":"b"}{"@type":"d","@version":0,"c":"d","e":"f"}{"@type":"d","@version":0,"g":{"h":"i"}}]
[{"@type":"d","@version":0,"a":"b"}{"@type":"d","@version":0,"c":"d","e":"f"}{"@type":"d","@version":0,"g":{"h":"i"}}]
insert into testclass content {"testcol":[{"a":"b"},{"c":"d","e":"f"},{"g":{"h":"i"}}]}
select testcol.toJSON()
The text was updated successfully, but these errors were encountered:
f0a1a2e
Hi @tolgaulas
Thank you very much for reporting, I just pushed a fix, next hotfix release will solve this problem
Thanks
Luigi
Sorry, something went wrong.
luigidellaquila
No branches or pull requests
OrientDB Version: 2.2.28
Java Version: 1.8.0_161
OS: windows
Expected behavior
toJSON on embedded properties should export compliant JSON. array of objects should be comma separated.
should export as is.`
Actual behavior
.toJSON don't insert commas in-between array elements
[{"@type":"d","@version":0,"a":"b"}{"@type":"d","@version":0,"c":"d","e":"f"}{"@type":"d","@version":0,"g":{"h":"i"}}]
Steps to reproduce
insert into testclass content {"testcol":[{"a":"b"},{"c":"d","e":"f"},{"g":{"h":"i"}}]}
select testcol.toJSON()
The text was updated successfully, but these errors were encountered: