How to looping range or regex #[1 - 12] to display based # in Library GJSON gjson library
example like this, I have picture json in below :
and I have try to looping like below
tempPayments:="Envelope.Body.GetCustomReportResponse.GetCustomReportResult.ContractSummary.PaymentCalendarList.PaymentCalendar."
resultPriod1 := gjson.Get(jsonString,tempPayments + "#.Date")
for _, datePriod := range resultPriod1.Array() {
println(datePriod[1].String())
}
how to I can display result between range [1-10] ,in "#" ?