StartDocument Event

Fires when the start of a new JSON document is encountered.

Syntax

ANSI (Cross Platform)
virtual int FireStartDocument(JSONStartDocumentEventParams *e);
typedef struct { int reserved; } JSONStartDocumentEventParams; Unicode (Windows) virtual INT FireStartDocument(JSONStartDocumentEventParams *e);
typedef struct { INT reserved; } JSONStartDocumentEventParams;
- (void)onStartDocument;
#define EID_JSON_STARTDOCUMENT 7

virtual INT IPWORKSIOT_CALL FireStartDocument();

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 C++ Edition - Version 20.0 [Build 8265]