Context:
The c# + json tags have a lot of "duplicate" questions and look-alikes.
There are three types of questions:
a. Duplicate of serialize/deserialize
b. Duplicate of value as properties name
c. Others.
The a and b are quite common, and always answered, often upvoted.
For as, changing anything in the JSON will make a valid question (for the answerer). Answers display a combination of Visual Studio's built-in menu Edit → Paste Special → Paste JSON as Classes and Json2Csharp, with sometimes a foreach
to display the result.
Bs can be quite subtle, but present a JSON that looks like:
{"518523721":{"Foos":1,"Bar":"abcd"},"527032438":{"Foos":1,"Bar":"abcd"},...}
Where a value or an identifier will be used as a property name. Answers may be like As, generated from Json2CSharp, or use Dictionary<string,string>
with a deserialize example.
Problem:
With a lot of open questions with upvotes on both answers and questions. It's harder and harder to find the duplicates. It is not harder to find dupes but the one to rule them all. The adequate target, as many will be linked, but not close, and all of them boils down to the same keywords.
Existing "canonical" answers exist. They are dissolved on many questions, or use old school (anything that is not the last library everyone talked about will be considered obsolete) deserialisation, or a list of methods and libraries (ServiceStack, ms.web, Json.NET, XYZ parser, etc.).
Question:
How can we handle those duplicates? While the answer will always flag and vote accordingly. The frequency of those questions could be an indication of a bigger problem: Canonical, but not canonical enough?
Disclaimer:
It's not a call for close votes and downvotes. Those tags are not bad and unsalvageable; they just have a tendency to be the exact same two questions every time someone finds a JSON. I would like this question to have a clear focus on building and finding great answers; the flag and closure will be easier without putting more work on people already reviewing and curating.
NullReferenceException
will beat it). What should we do? Nothing special, vote-close as usual.