I am trying to make the NLog DocumentDB quick and dirty target, but it seems I can not directly store the JSON in DocumentDB.
Using the C # library, it seems that the DocumentClient.CreateDocumentAsync () parameter of the document requires only a "complex type", and I do not see other methods that can accept a JSON string.
Has anyone else figured out how to save JSON directly?
Mikee source share