Page 1 of 1

Report won't display if Json structure doesn't match data source

Posted: Wed Aug 21, 2019 3:08 pm
by pobber1
Hi,

My report won't display if my JSON contains a field that the data source in Stimulsoft doesn't define.

For example:
JSON:
Stuff: {
Field1: 1,
Field2: 2
}

Stimulsoft DataSource:
Stuff defines Field1 but not Field2

Is there a way to tell stimulsoft to ignore fields that are not defined?

Re: Report won't display if Json structure doesn't match data source

Posted: Thu Aug 22, 2019 9:40 pm
by Lech Kulikowski
Hello,

Please send your JSON file for analysis or check the following JSON string:

Code: Select all

{
	"Stuff": [{
		"Field1": 1,
		"Field2": 2
	}]
}
Thank you.