-
Notifications
You must be signed in to change notification settings - Fork 306
Open
Description
is this really needed in yarGen.py? strings with double quotes end up with 5 backslashes when creating new json files with "-g -c", e.g.
"\\\\\"isexe@": 1,
probably they get escaped a 2nd time by the json-export function?
# Escape strings
if len(string) > 0:
string = string.replace(b'\\', b'\\\\')
string = string.replace(b'"', b'\\"')looks to me like it works without these 3 lines (which results in only one backslah before a doublequote) but I'm new to yarGen??
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels