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)
commit31dbc350191fc2f5d86e48b00fa9c4eeb4e842ce
tree30fb62eb9e7d7db77a16d4dd09ae08e81226f4e3
parent887a28de61ddbbcea112a15f5d3cefba6d729c1c
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