Closed serjikisa closed 1 year ago
https://go.dev/play/p/aJ6xhpWoUS6
While validating multiple fields from same json, after each find must do another gojsonq.New().FromString(str) unless only the first one will work and the rest will fail, also tried Copy. The link is self explanatory.
gojsonq.New().FromString(str)
Copy
Thanks
Found another issue similar, should use Reset() before each Find
Reset()
Find
https://go.dev/play/p/aJ6xhpWoUS6
While validating multiple fields from same json, after each find must do another
gojsonq.New().FromString(str)
unless only the first one will work and the rest will fail, also triedCopy
. The link is self explanatory.Thanks