We currently display path as ['{}'] but edge cases are not covered (e.g. such as usage of ' in path). This was quick fix so we could integrate with referent verifier. However, the core problem is leakage of this helper struct, which was never meant as the go-to option for rendering JSONPath. Instead, in places where we need to render JSONPath, we should use a dedicated library, not sd-jwt-internal debugging helpers.
We currently display path as ['{}'] but edge cases are not covered (e.g. such as usage of ' in path). This was quick fix so we could integrate with referent verifier. However, the core problem is leakage of this helper struct, which was never meant as the go-to option for rendering JSONPath. Instead, in places where we need to render JSONPath, we should use a dedicated library, not sd-jwt-internal debugging helpers.