Skip to content

Conversation

@MaxBlack-dev
Copy link
Contributor

@MaxBlack-dev MaxBlack-dev commented Nov 29, 2025

Description

This PR adds a dedicated section explaining field access patterns for
pm view, making it easier for users to understand how to query nested fields, array elements, and object properties.

Changes

  • Added a new 'Field Access Patterns' section with clear examples
  • Documented dot notation for nested object fields
  • Explained numeric indices in square brackets for array access
  • Clarified bracket notation with quotes for object property access
  • Showed how to extract fields from all array elements

Fixes

Closes #5526

Context

Users were finding it difficult to discover the various ways to access nested data in
pm view. While some examples existed in the documentation, they were scattered and the patterns weren't explicitly explained. This change consolidates the information into a dedicated section with comprehensive examples covering:

  • Nested object access (
    epository.url)
  • Array element access (\contributors[0].email)
  • Object property access (\ ime[4.17.1])
  • Batch field extraction (\contributors.email)

Type of Change

  • Documentation update

@MaxBlack-dev MaxBlack-dev requested a review from a team as a code owner November 29, 2025 23:44
@owlstronaut owlstronaut merged commit 2fc689d into npm:latest Dec 1, 2025
9 checks 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] cryptic npm view labels

2 participants