public static @Nullable ItemPresentation getPresentation(final @NotNull JsonProperty property) {
    return new ItemPresentation() {
      @Override
      public @Nullable String getPresentableText() {
        return property.getName();
      }

      @Override
      public @Nullable String getLocationString() {
        final JsonValue value = property.getValue();
        return value instanceof JsonLiteral ? value.getText() : null;
      }

      @Override
      public @Nullable Icon getIcon(boolean unused) {
        if (property.getValue() instanceof JsonArray) {
          return AllIcons.Json.Array;
        }
        if (property.getValue() instanceof JsonObject) {
          return AllIcons.Json.Object;
        }
        return PlatformIcons.PROPERTY_ICON;
      }
    };
  }
public static @Nullable ItemPresentation getPresentation(final @NotNull JsonProperty property)