-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
call Find() twice with the same path but got nil for the second time #103
Comments
oh! I realized that I need to call Reset() before Find() again! areaLevel := jq.Find(fmt.Sprintf("data.dynamicConfig.%s.feConfig.areaLevel", req["corpId"].(string)))
areaRange := jq.Reset().Find(fmt.Sprintf("data.dynamicConfig.%s.feConfig.areaRange", req["corpId"].(string))) |
I done also lot of ... before found this info. And saw Reset() wiki. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there anything wrong in this use case ? 😭
The text was updated successfully, but these errors were encountered: