{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/2690","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/2690/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/2690/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/2690/events","html_url":"https://github.com/orientechnologies/orientdb/issues/2690","id":40388088,"number":2690,"title":"Double quotes escape bug","user":{"login":"Nialit","id":5984704,"avatar_url":"https://avatars.githubusercontent.com/u/5984704?v=3","gravatar_id":"","url":"https://api.github.com/users/Nialit","html_url":"https://github.com/Nialit","followers_url":"https://api.github.com/users/Nialit/followers","following_url":"https://api.github.com/users/Nialit/following{/other_user}","gists_url":"https://api.github.com/users/Nialit/gists{/gist_id}","starred_url":"https://api.github.com/users/Nialit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nialit/subscriptions","organizations_url":"https://api.github.com/users/Nialit/orgs","repos_url":"https://api.github.com/users/Nialit/repos","events_url":"https://api.github.com/users/Nialit/events{/privacy}","received_events_url":"https://api.github.com/users/Nialit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-08-15T21:51:52Z","updated_at":"2015-01-14T17:09:04Z","closed_at":null,"body":"If I escape double quotes in SQL\r\n```sql\r\nupdate #13:0 add msg = {\"\":{\"M\":\"\\\"\"}}\r\n```\r\nnext msg is added(from V)\r\n```json\r\n{\"M\":\"\\\\\\\"\"}\r\n```\r\nso that backslash is shielded too. Without backslashing I found no way to pass quotes. With backslashing extra backshash appears.\r\n\r\nSo,  one extra backslash is added.\r\nIf you replace the wrong value inside studio edit by right one\r\n```json\r\n{\"msg\":\"\\\"\"}\r\n```\r\nthen everything works fine and you get correct escaped double quotes. \r\n\r\nIt's very annoing as needs extra server work when saving text, that contain double quotes.\r\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/69951481","html_url":"https://github.com/orientechnologies/orientdb/issues/2690#issuecomment-69951481","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/2690","id":69951481,"user":{"login":"AaronSchulz","id":1020708,"avatar_url":"https://avatars.githubusercontent.com/u/1020708?v=3","gravatar_id":"","url":"https://api.github.com/users/AaronSchulz","html_url":"https://github.com/AaronSchulz","followers_url":"https://api.github.com/users/AaronSchulz/followers","following_url":"https://api.github.com/users/AaronSchulz/following{/other_user}","gists_url":"https://api.github.com/users/AaronSchulz/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronSchulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronSchulz/subscriptions","organizations_url":"https://api.github.com/users/AaronSchulz/orgs","repos_url":"https://api.github.com/users/AaronSchulz/repos","events_url":"https://api.github.com/users/AaronSchulz/events{/privacy}","received_events_url":"https://api.github.com/users/AaronSchulz/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T17:09:04Z","updated_at":"2015-01-14T17:09:04Z","body":"I tried reproducing this and didn't get double escaping...but I can't get the full value to be added. Adding ```{\"M\":\"\\\"\"}``` results in ```\\\"``` being added, rather than the full key/value tuple."}}