public async Task WriteSimpleTestClassWithStructCollectionWrappers() { { SimpleTestClassWithStructCollectionWrappers obj = new SimpleTestClassWithStructCollectionWrappers(); obj.Initialize(); Assert.Equal(SimpleTestClassWithStructCollectionWrappers.s_json.StripWhitespace(), await Serializer.SerializeWrapper(obj)); } { SimpleTestClassWithStructCollectionWrappers obj = new SimpleTestClassWithStructCollectionWrappers() { List = default,
public static void WriteSimpleTestClassWithStructCollectionWrappers() { { SimpleTestClassWithStructCollectionWrappers obj = new SimpleTestClassWithStructCollectionWrappers(); obj.Initialize(); Assert.Equal(SimpleTestClassWithStructCollectionWrappers.s_json.StripWhitespace(), JsonSerializer.Serialize(obj)); } { SimpleTestClassWithStructCollectionWrappers obj = new SimpleTestClassWithStructCollectionWrappers() { List = default,
public async Task ReadSimpleTestClass_StructCollectionWrappers() { SimpleTestClassWithStructCollectionWrappers obj = await Serializer.DeserializeWrapper <SimpleTestClassWithStructCollectionWrappers>(SimpleTestClassWithStructCollectionWrappers.s_json); obj.Verify(); }
public static void ReadSimpleTestClass_StructCollectionWrappers() { SimpleTestClassWithStructCollectionWrappers obj = JsonSerializer.Deserialize <SimpleTestClassWithStructCollectionWrappers>(SimpleTestClassWithStructCollectionWrappers.s_json); obj.Verify(); }