Skip to content

Specify a different separator for "jpath" passed to call-back options #465

Open
@amitguptagwl

Description

@amitguptagwl

Discussed in #463

Originally posted by YvesMarcoux May 17, 2022
Some options (like isArray) are call-backs that take a jpath argument. The separator in such paths seems to be the dot (.).
The problem is that the dot is legitimate in XML names, in particular element names. Thus, a jpath of "a.b.c" could mean either "a.b/c" or "a/b.c" (or, of course "a/b/c"). [Here, I use "/" as the delimiter, which BTW would be a good choice, because it is forbidden in XML names.]

Hence, my question: is it possible to specify a separator different from the dot?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions