-
Notifications
You must be signed in to change notification settings - Fork 1.6k
not working as expected #674
Comments
There is a severe lack of details here. Please specify what your settings for the obfuscation are. Please also add some more details regarding what In the mean time you can also try my fork of ConfuserEx. It contains lots of bug fixes. You find the latest version here: ConfuserEx - AppVeyor. |
thanks for response unfortunately, it doesn't work with new version too... the setting of obfuscation is 'normal' without any additional option but generally it doesn't work with any config the problem happened with the class below : class Val
} when I gave it Json like below: {'accessToken':'hfhffggfddhhdh','expires':1535545491,'expires_in':3597,'email':'[email protected]','idToken':'yytytytytytyytytyty','userId':'8776655','displayName':'JB','familyName':'JB','givenName':'JB','imageUrl':'http://WebPath.NET/File.Jpg'} it just return nothing after obfuscating the code!! thanks in advance |
I guess the source of the problem is that you are referencing the private nested class as deserialization target. I'll look into that issue as soon as I can. |
I separated the classes and the problem still exist... |
You are using the very old JSON serialisation that is part of .NET. The documentation suggests using Json.NET. Is that a option for you? Json.NET is properly supported by ConfuserEx. I'll work on supporting the old serializer. But that may take some time. |
used it, but it doesn't work also, the same issue! |
@Json-WB don't select Renaming protection. It should work as expected (: |
@XenocodeRCE I did not use this option at all! |
@Json-WB Renaming is part of the "normal" preset. You can explicitly remove it by adding a new line in the configuration where you selected "normal". Choose "Remove" in the first combo box and "rename" in the second. That will disable the renaming. The other alternative is add the attribute [System.Reflection.Obfuscate(Exclude = false, Feature = "-rename")] to the |
Wow, it's working with removing the rename from configuration but not working with attribute ... |
You also have the [Serializable] attribute for JSON specific data ... not sure if ConfuserEx handle it |
The |
net framework 4
confuserEX v 1.0.0
it does not work with below code and return nothing from Json !! although the code itself is working fine after normal compiling ...
JavaScriptSerializer Json = new JavaScriptSerializer();
Elements = Json.Deserialize(JsonData);
The text was updated successfully, but these errors were encountered: