public static String unescape(String pointerPart) {
        if (!pointerPart.contains("~")) {
            return pointerPart;
        } else {
            return pointerPart.replace("~1", "/").replace("~0", "~");
        }
    }
Unescapes special JSON pointer cases.

@param pointerPart Pointer to unescape.
@return Returns the unescaped pointer.
smithy-model/src/main/java/software/amazon/smithy/model/node/NodePointer.java