a8m / a8m/obj-parse

Does this support arrays?

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I was wondering if it was possible to use this lib with arrays inside objects, potentially by detecting type of the values and a number in the key say 'profile.photos.3.title'
Also if it does support getter and setter for existing items does it support setting a new item using Array.push
And finally if it does also support that, implementing some kind of way to find an object in an array using a specific language findIndex like so
'profile.photos.{"id"="aFf391j"}.title'

I'll send in a PR if I find a way to implement something like that

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.