Closed dotnetshadow closed 2 years ago
Sorry for the extremely late reply on this 😬
The trick is probably going to be to get nested complex objects as documents. See the answer in this discussion: https://github.com/statiqdev/Discussions/discussions/22
Since this issue is so old, I'll go ahead and close it with the assumption that gets you where you need to go. Please feel free to comment and I can reopen if that's not the case.
Hi there,
Firstly a great effort on this project.
I would like to read a json file with multiple records, I've been successful when it's a single item, but I just can't seem to read in when there are multiple items such as below:
Multiple items
Single item
This is how I'm reading in the files
.cshtml page
Basically I would like one of my pages in razor to loop over those fruits and display them on the page, whether it's an array of items or a single item
Questions:
Thanks for your time and effort