【发布时间】:2021-12-28 23:11:35
【问题描述】:
{
"repo": [
{
"book": 47,
"version": 1,
"bookName": "Book1",
"chapters": [
{
"chapterId": 1,
"chapterContents": [
{
"line": 1,
"Text": "1. The first text of chapter 1 book 1"
},
{
"line": 2,
"Text": "2. The second text of chapter 1 book 1"
}
]
},
{
"chapterId": 2,
"chapterContents": [
{
"line": 1,
"Text": "1. The first text of chapter 2 book 1"
}
]
}
]
}
]
}
这是在 Amazon S3 中存储为 JSON 文件的数据模型的格式。有很多书有很多章节和文字内容。要求是在所有书籍中搜索特定文本并列出找到该文本的行、章、书籍和版本。如何对嵌套数组 JSON 文件进行 S3 查询?
【问题讨论】:
标签: arrays json amazon-web-services amazon-s3 amazon-s3-select