Nadyan Pscheidt · Oct 15, 2019 go to post

Hello, Marcos!

The Rewind function moves the reading pointer back to the start of the stream. It's useful if you want to read a stream from the beginning again.

for example:

do ##class(%ZEN.Auxiliary.jsonProvider).%ParseJSON(obj,,.ObjData)
do ObjData.Rewind()
do ObjData.Read()