Deserializing json Cosmos DB objects in Azure Function App

Simple Note to self how to deserialize json data from Cosmos DB to custom object with Newtonsoft.Json.JsonConvert.DeserializeObject<>

Example function app with Cosmos DB SQL API

Example 1: Getting data from Cosmos DB with SQL API then deserializing the data to custom object.


Business logic (Manager) and structs:

Further reading

About the author

Image of Luc GossoLuc Gosso
– Independent Senior Web Developer
working with Azure and Episerver

Twitter: @LucGosso

Like it? please up vote

Leave a Reply

Your email address will not be published. Required fields are marked *