opened
jmeadecvlt
username_0
would have expected Serialize and Deserialize methods being declared.
IJsonSerializer is empty?
issue
closed
sami1971
username_1
issue
created
sami1971
username_1
They are...

https://github.com/XLabs/Xamarin-Forms-Labs/blob/master/src/Serialization/XLabs.Serialization/ISerializer.cs

https://github.com/XLabs/Xamarin-Forms-Labs/blob/master/src/Serialization/XLabs.Serialization/IStringSerializer.cs

https://github.com/XLabs/Xamarin-Forms-Labs/blob/master/src/Serialization/XLabs.Serialization/IByteSerializer.cs

https://github.com/XLabs/Xamarin-Forms-Labs/blob/master/src/Serialization/XLabs.Serialization/IStreamSerializer.cs
comment
created
jmeadecvlt
username_0
ok, so just don't do this: Resolver.Resolve<IJsonSerializer>()?
comment
created
jmeadecvlt
username_0
Resolver.Resolve&lt;IJsonSerializer&gt;()?
comment
created
sami1971
username_1
The second option is correct (as long as you have registered a JSON serializer).

https://github.com/XLabs/Xamarin-Forms-Labs/blob/master/Samples/XLabs.Sample.WP/App.xaml.cs#L256
comment
created
jmeadecvlt
username_0
ok, looks like visual studio was giving me some trouble.  apologies for the confusion and thanks for the fast response!
comment