StartDocument Event
Fires when the start of a new JSON document is encountered.
Syntax
public event OnStartDocumentHandler OnStartDocument; public delegate void OnStartDocumentHandler(object sender, JsonStartDocumentEventArgs e); public class JsonStartDocumentEventArgs : EventArgs { }
Public Event OnStartDocument As OnStartDocumentHandler Public Delegate Sub OnStartDocumentHandler(sender As Object, e As JsonStartDocumentEventArgs) Public Class JsonStartDocumentEventArgs Inherits EventArgs End Class
Remarks
This event fires when parsing of a JSON document begins. This event may fire multiple times if InputFormat is set to a value which accepts multiple JSON documents.