Skip to content

A -Depth parameter would be usefull #81

@x86Since8088

Description

@x86Since8088

I would like to dump data for human review in YAML, but some objects have seemingly endless recursion. A -Depth parameter would help here.

Exception calling "Serialize" with "2" argument(s): "Too much recursion when traversing the object graph"
At C:\Users\my\Documents\WindowsPowerShell\Modules\powershell-yaml\0.4.2\powershell-yaml.psm1:398 char:13

  •         $serializer.Serialize($wrt, $norm)
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    • FullyQualifiedErrorId : InvalidOperationException

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