@Override
  public @Nullable JsonObjectValueAdapter getParentObject() {
    YAMLMapping parentMapping = myProperty instanceof YAMLKeyValue ? ((YAMLKeyValue)myProperty).getParentMapping() :
                                ObjectUtils.tryCast(myProperty.getParent(), YAMLMapping.class);
    return parentMapping != null ? new YamlObjectAdapter(parentMapping) : null;
  }
@Override
  public @Nullable JsonObjectValueAdapter getParentObject()