Use the function here which takes givenVerse
then returns a gospelEventObject
{
"eventNumber": 224,
"title": "Jesus is betrayed and arrested",
"references": [
"Matthew 26:47-56",
"Mark 14:43-52",
"Luke 22:47-53",
"John 18:1-1"
]
}
You might need to change the path for keyedData.json
and searchableData.json
depending on where you use this function.
See here for a Standalone example.
"1": {
"title": "Luke",
"references": [
"Luke 1:1-4"
]
}
{
"Matthew": {
"1": [
{
"startVerse": 1,
"endVerse": 17,
"eventNumber": "1"
}
]
}
}