a8m / a8m/obj-parse

Does this support arrays?

Aberta
#4 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
3
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.