JSON Archives

How to remove a property from Json in C#

Author - Webner
|
0 Comments
|

Description: Suppose we have the following JSON data and we want to remove the property “RunIsolated” (highlighted) under the compositeRequest to get the final JSON without this property:

Solution for Json:

Following is the sample code to achieve this:
string jsonContent = “{\”allOrNone Read more…

Why not use JSON.stringify in JavaScript?

Author - Webner
|
0 Comments
|

Why JSON.stringify Shouldn’t Be Used To Compare Objects In JavaScript?

In javascript, equality operator == or === can be used to compare numerics and strings. But when we will compare objects using these operators, then it will not work as expected because objects use references. So, equality operators Read more…