Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give decycle caller chance to replace values at path #52

Closed
wants to merge 1 commit into from

Commits on Dec 8, 2013

  1. Give decycle caller chance to replace values at path

    Give decycle's caller an opportunity to replace
    the value at any given JSONPath as derez traverses
    objects.
    
    This change gives decycle a second argument
    allowing the caller to provide a function which
    may transform values arbitrarily.
    
    One example use might be giving decycle awareness
    of an object's preference for representing itself
    in a decycled structure, especially giving
    anObject.toJSON() a chance to run.
    misterjoshua committed Dec 8, 2013
    Configuration menu
    Copy the full SHA
    17d4c91 View commit details
    Browse the repository at this point in the history