hangedfish commented on issue #61119:
URL: https://github.com/apache/doris/issues/61119#issuecomment-5087500109

   To other perplexed users:
   
   After reviewing the documentation, I confirmed that Doris does not 
explicitly guarantee this output as standard JSON—it is currently a JSON-like 
textual representation. My initial assumption about this was incorrect.
   
   For those encountering similar issues, please note that this behavior 
currently prevents standard ORM frameworks from automatically parsing nested 
STRUCT and ARRAY types via the MySQL protocol.
   
   As a practical workaround, you might consider using the built-in TO_JSON 
function in your queries for explicit conversion. Alternatively, if your 
application layer allows it, custom deserialization logic will be required to 
handle the unescaped characters.
   
   I hope this helps others avoid the time I spent troubleshooting this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to