Skip to content

Instantly share code, notes, and snippets.

[MemoryDiagnoser]
public class JsonSerializeBenchmark {
private const string json = "{\"Name\":\"insert name here\",\"Addresses\":[{\"Line1\":\"Address line 1\",\"Line2\":\"Address line 2\"},{\"Line1\":\"Address line 1\",\"Line2\":\"Address line 2\"}]}";
[Benchmark]
public string Deserialize() => DeserializeJson();
[Benchmark]
public string Parse() => ParseJson();
@stuartd
stuartd / vonage_test.json
Last active January 28, 2022 12:21
Gist description
[
{
"action": "stream",
"streamUrl": [
"https://telephonebanking.azurewebsites.net/calllogs/Stuart_22_01_28_12_15_07_96/call_audio.wav"
]
}
]