Trying to parse this at all (even using a filter as simple as .foo) raises the following error:
yq: Error running jq: ConstructorError: found unconstructable recursive node
in "<stdin>", line 1, column 5.
I understand that it's sort of my fault that there is infinite recursion in my YAML, but I think that it would be good to be able to work around heavy recursion, including the infinite case, somehow. Perhaps a command line argument to set a maximum recursion depth?
I have some YAML that's like this:
Trying to parse this at all (even using a filter as simple as
.foo
) raises the following error:I understand that it's sort of my fault that there is infinite recursion in my YAML, but I think that it would be good to be able to work around heavy recursion, including the infinite case, somehow. Perhaps a command line argument to set a maximum recursion depth?