Overview of the Issue
Marshalling the following JSON document to SQL doesn't escape the key properly:
Leads to:
JSON_OBJECT(_utf8mb4'key with ' in it', JSON_ARRAY())
instead of:
JSON_OBJECT(_utf8mb4'key with \' in it', JSON_ARRAY())
Reproduction Steps
Binary Version
Operating System and Environment details
Log Fragments
No response
Overview of the Issue
Marshalling the following JSON document to SQL doesn't escape the key properly:
{"key with ' in it": []}Leads to:
instead of:
JSON_OBJECT(_utf8mb4'key with \' in it', JSON_ARRAY())Reproduction Steps
Binary Version
Operating System and Environment details
Log Fragments
No response