I’m using Aspose.Words with the LINQ Reporting Engine, and I have a JSON data source with two separate arrays: one contains person names and IDs, and the other contains addresses and person IDs. I want to join these two using the personId key.
However, the suggested solution doesn’t work in my case because I’m not using a separate JSON file as a data source. Instead, the data is passed to the engine as a string (inline JSON content), structured like this:
{
"SourceData": "{\n\t\"program\": {\n\t\t\"text\": \"Lawyers Professional Liability\",\n\t\t\"value\": \"LPL\"\n\t},\n\t..."
}
So the data is embedded as a string value, not a directly navigable JSON object. As a result, the standard approach using JsonDataSource(filePath) or querying subcollections like data.persons or data.addresses.Where(...) does not work directly. can you suggest any other way.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.