-
-
Notifications
You must be signed in to change notification settings - Fork 330
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 array notation to dotget/dotset functions #57
Comments
something like is_key_index(const char * path_elem) { ... } |
As a consumer of this library, some kind of index-independent syntax would also be nice: json_object_dotset_string(obj, "array[]", "itemN"); Where |
Array notation is also something I was looking for. Like moe123's comment, some straightforward addressing scheme such as an_array.[1].an_object.key to access a certain element in an array will be very good. |
Hi,
and then added but when i print serialized_string, i get: Can you explain better how to create arrays? |
@lidiahhh it's not implemented, it's only a suggestion. |
Example:
The text was updated successfully, but these errors were encountered: