Skip to content

Commit

Permalink
Double escape for JSON and C++
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Dec 18, 2018
1 parent 10140b1 commit 0896548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/function_help/json/decode_uri
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{"arg":"part","description":"The part of the uri to return. If unspecified, a map with all uri parts will be returned.","optional":true} ],
"examples": [ { "expression":"decode_uri(@layer)", "returns":"{'layerId': '0', 'layerName': '', 'path': '/home/qgis/shapefile.shp'}"},
{ "expression":"decode_uri(@layer)", "returns":"{'layerId': NULL, 'layerName': 'layer', 'path': '/home/qgis/geopackage.gpkg'}"},
{ "expression":"decode_uri(@layer, 'path')", "returns":"'C:\\my_data\\qgis\\shape.shp'"}
{ "expression":"decode_uri(@layer, 'path')", "returns":"'C:\\\\my_data\\\\qgis\\\\shape.shp'"}
]
}

0 comments on commit 0896548

Please sign in to comment.