-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add_by_path_otherways supports? #578
Comments
According to my comments: ! It only works for `path_mode=1` or `path_mode=3`.
! An error will be thrown for `path_mode=2` (RFC 6901). And this note about if (json%path_mode==2_IK) then
! the problem here is there isn't really a way to disambiguate
! the array elements, so '/a/0' could be 'a(1)' or 'a.0'. So I guess it's not really possible? If anyone has a solution for this I would be interested to hear it. |
The assumption could be made that numbers are always treated as array elements. |
In my opinion, the |
Maybe adding an optional flag argument to the |
It seems that the subroutine
add_by_path
only support the default way to specify the path (path_mode=1
), actually the following codes does not workI wonder if this module can deal with the
add_by_path
withpath_mode=2(or3)
normally. If not, will there be an update to support it ?The text was updated successfully, but these errors were encountered: