code: @Deprecated
      public static BoxItem createBoxItemFromJson(final String json) {
          BoxEntity createdByEntity = new BoxEntity();
          createdByEntity.createFromJson(json);
          if (createdByEntity.getType().equals(BoxFile.TYPE)) {
              BoxFile file = new BoxFile();
              file.createFromJson(json);
              return file;
          } else if (createdByEntity.getType().equals(BoxBookmark.TYPE)) {
              BoxBookmark bookmark = new BoxBookmark();
              bookmark.createFromJson(json);
              return bookmark;
          } else if (createdByEntity.getType().equals(BoxFolder.TYPE)) {
              BoxFolder folder = new BoxFolder();
              folder.createFromJson(json);
              return folder;
  
          }
          return null;
      }
docs: Deprecated use BoxEntity.createEntityFromJson. FromCreates a BoxItem object from a JSON string.
  
  @param json JSON string to convert to a BoxItem.
  @return BoxItem object representing information in the JSON string.