@@ -36,18 +36,18 @@ const nodeOptions: UsjNodeOptions = {
3636} ;
3737// Word "man" inside first q1 of PSA 1:1.
3838const annotationRange1 = {
39- start : { jsonPathIndexes : [ 10 , 2 ] , offset : 15 } ,
40- end : { jsonPathIndexes : [ 10 , 2 ] , offset : 18 } ,
39+ start : { jsonPath : "$.content [10].content[2]" , offset : 15 } ,
40+ end : { jsonPath : "$.content [10].content[2]" , offset : 18 } ,
4141} ;
4242// Phrase "man who" inside first q1 of PSA 1:1.
4343const annotationRange2 = {
44- start : { jsonPathIndexes : [ 10 , 2 ] , offset : 15 } ,
45- end : { jsonPathIndexes : [ 10 , 2 ] , offset : 22 } ,
44+ start : { jsonPath : "$.content [10].content[2]" , offset : 15 } ,
45+ end : { jsonPath : "$.content [10].content[2]" , offset : 22 } ,
4646} ;
4747// Word "stand" inside first q2 of PSA 1:1.
4848const annotationRange3 = {
49- start : { jsonPathIndexes : [ 11 , 0 ] , offset : 4 } ,
50- end : { jsonPathIndexes : [ 11 , 0 ] , offset : 9 } ,
49+ start : { jsonPath : "$.content [11].content[0]" , offset : 4 } ,
50+ end : { jsonPath : "$.content [11].content[0]" , offset : 9 } ,
5151} ;
5252const defaultAnnotations : Annotations = {
5353 annotation1 : {
0 commit comments