public async Task Deserialize_DotNetJson_Complex_AsyncStream() { ComplexDataStreamUtf8.Position = 0; await NetJS.ReadAsync(ComplexDataStreamUtf8, TestData.ComplexJsonObject.GetType()); }
public async Task Serialize_DotNetJson_Simple_AsyncStream() { var stream = new MemoryStreamForcedAsync(); await NetJS.WriteAsync(TestData.SimpleJsonObject, TestData.SimpleJsonObject.GetType(), stream); }
public byte[] Serialize_DotNetJson_Complex_ToUtf8() { return(NetJS.ToUtf8Bytes(TestData.ComplexJsonObject)); }
public string Serialize_DotNetJson_Complex_ToString() { return(NetJS.ToString(TestData.ComplexJsonObject)); }
public byte[] Serialize_DotNetJson_Simple_ToUtf8() { return(NetJS.ToUtf8Bytes(TestData.SimpleJsonObject)); }
public string Serialize_DotNetJson_Simple_ToString() { return(NetJS.ToString(TestData.SimpleJsonObject)); }