loader: GH362 - Fix json output of escape chars
authorMark Young <marky@lunarg.com>
Tue, 14 Jun 2016 20:59:44 +0000 (14:59 -0600)
committerMark Young <marky@lunarg.com>
Tue, 14 Jun 2016 21:02:53 +0000 (15:02 -0600)
commitdb8517fa8168419bc3a410b499b108a920b82e65
tree636f4df323d233c11c376904a22177a4b83240fc
parenta3e077801c33c943553e9de9e7370f93169a0dc8
loader: GH362 - Fix json output of escape chars

The strings from the JSON file already add escape characters.
So, \ becomes \\ in the JSON file strings.  However, the cJSON
library was adding \\ for ever encountered \ when converting
to a string.  This became messy as C:\\vulkanSDK\\layerfile.json
became C:\\\\vulkanSDK\\\\layerfile.json.

Change-Id: I006252e33d6e91e2bef704dd5dee0777105388a7
loader/cJSON.c