pointer_to_dot_notation

Function pointer_to_dot_notation 

Source
pub fn pointer_to_dot_notation(path: &str) -> String
Expand description

Convert JSON pointer or schema pointer to dotted notation

This converts various pointer formats back to dotted notation:

Examples:

  • “#/illustration/properties/insured/properties/ins_corrname” -> “illustration.properties.insured.properties.ins_corrname”
  • “/user/name” -> “user.name”
  • “person.name” -> “person.name” (already dotted, no change)