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 IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_JSON_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_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