SerializerExtentions.SerializeAsJsonContent(ISerializer, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serialize an object into a HttpContent object
public static System.Net.Http.HttpContent SerializeAsJsonContent (this Microsoft.Graph.ISerializer serializer, object source);
static member SerializeAsJsonContent : Microsoft.Graph.ISerializer * obj -> System.Net.Http.HttpContent
<Extension()>
Public Function SerializeAsJsonContent (serializer As ISerializer, source As Object) As HttpContent
Parameters
- serializer
- ISerializer
- source
- Object