How to make Json Serialize ignore dictionary keys

I’m trying to serialize a dictionary within a class and the keys inside the CustomAttributes dictionary are getting formatted even though I’ve provided the ProcessDictionaryKeys parameter as false. I’ve added [JsonProperty] as shown below: [JsonProperty(NamingStrategyType = typeof(SnakeCaseNamingStrategy), NamingStrategyParameters = new object[] { false, false })] public IDictionary<string, string> CustomAttributes { get; set; } my CustomAttributes…

Testcafe – How to use JSON response data as a variable

I want to add a testcafe step where I call an API GET and use something from JSON response body as an inputed test into a field. How can I implement this functionality in TestCafe? I was trying to use RequestLogger from https://devexpress.github.io/testcafe/documentation/test-api/intercepting-http-requests/logging-http-requests.html That didnt work, it didnt make any request. Here is the fetch…

Copy JSON files to local from AWS S3 bucket in windows system using CLI

Hi I’m unable to copy JSON files from S3 to local using the following command in windows. aws s3 cp s3://mybucket// ./ –recursive I’m getting the following error: download failed: s3://availdump/apps_dumps/cashup/dump/apps/query_1111286326_2019-10-21T13:22:25.525520.json to .\query_1111286326_2019-10-21T13:22:25.525520.json [Errno 22] Invalid argument: ‘C:\Users\gaura\Downloads\city_wise_collection_summary_(April – July)\apps_dumps\query_1111286326_2019-10-21T13:22:25.525520.json.4A2aA011’ NOte: I’m getting this error only for JSON files, text files are copying fine