GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Is there a way to track property path using context? · Issue #289 · msgpack/msgpack-javascript

Is there a way to track property path using context? #289

New issue
Copy link
New issue
Copy link
Open
Open
Is there a way to track property path using context?#289
Copy link

Description

@gyzerok
gyzerok
opened on May 8, 2026
Issue body actions

Hello there!

I need to be able to adjust encoding of certain values based on their value path. For example for { foo: 1, bar: { from: 300, baz: 'hello' }}. I would like for the from property to have custom encoding. One way I could do it is to have a list of paths such as '.bar.from' and then by looking at the current path inside encoding apply custom logic.

Is there a way to achieve this nicely? Can't quite figure it out myself. Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.