I\'m working in C# right now and I\'m using JSON.Net to parse json strings to well, C# objects. Part of my problem is that I\'m getting some strings like this:
I found the best way is to convert your string to an array structure:
string json = "{\"name\": \"John\"}{\"name\": \"Joe\"}";
json = json.Insert(json.Length, "]").Insert(0, "[").Replace("}{", "},{");
// json now is [{"name": "John"},{"name": "Joe"}]
List result = Newtonsoft.Json.JsonConvert.DeserializeObject>(json);
Assuming your class name is Person
:
public class Person
{
public string Name { set; get; }
}