void () { checkWrapInDoubleQuotes("{n<caret>ull: false}", "{\"null\": false}"); checkWrapInDoubleQuotes("{t<caret>rue: false}", "{\"true\": false}"); checkWrapInDoubleQuotes("{4<caret>2: false}", "{\"42\": false}"); checkWrapInDoubleQuotes("{fo<caret>o: false}", "{\"foo\": false}"); checkWrapInDoubleQuotes("{'fo<caret>o': false}", "{\"foo\": false}"); checkWrapInDoubleQuotes("'foo\\\"", "\"foo\\\"\""); checkWrapInDoubleQuotes("{\"foo\": b<caret>ar}", "{\"foo\": \"bar\"}"); checkWrapInDoubleQuotes("{\"foo\": 'b<caret>ar'}", "{\"foo\": \"bar\"}"); checkWrapInDoubleQuotes("'foo\\n\\'\"\\\\\\\"bar", "\"foo\\n'\\\"\\\\\\\"bar\""); }