Skip to content

Align array docs with token iteration#8

Merged
uesleibros merged 1 commit into
vbacollective:mainfrom
iDavi:agent/docs-token-iteration
Jul 9, 2026
Merged

Align array docs with token iteration#8
uesleibros merged 1 commit into
vbacollective:mainfrom
iDavi:agent/docs-token-iteration

Conversation

@iDavi

@iDavi iDavi commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • align documented array accessor names with the *At methods shipped by JSON.cls
  • update full-array and object-member scan examples to use token iteration
  • clarify that indexed access is appropriate for selecting individual positions

Why

Indexed lookup walks sibling links, so using it for a complete scan becomes quadratic. The prior docs also advertised StringIndex-style methods that are not in the class.

Validation

  • verified no stale *Index typed accessor names remain in README, docs, or examples
  • reviewed examples against public methods in package/JSON.cls

Closes #4

@uesleibros uesleibros marked this pull request as ready for review July 9, 2026 22:31
@uesleibros uesleibros merged commit 9a486fc into vbacollective:main Jul 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(StringAt/ValueAt): recommend token iteration for full-array scans and align API names

2 participants