Validate Property

When True, the parser checks that the document consists of well-formed XML.

Syntax

ANSI (Cross Platform)
int GetValidate();
int SetValidate(int bValidate); Unicode (Windows) BOOL GetValidate();
INT SetValidate(BOOL bValidate);
@property (nonatomic,readwrite,assign,getter=validate,setter=setValidate:) BOOL validate;
- (BOOL)validate;
- (void)setValidate:(BOOL)newValidate;
#define PID_JSON_VALIDATE 7

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_JSON_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_JSON_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

TRUE

Remarks

You can set Validate to False when you want to ignore XML format rules (e.g. while parsing HTML files).

Data Type

Boolean

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