Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

JSON push always wrapped in array structure

Đang mở
#193 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@michaelhoehn đang làm issue này rồi.

Từ ngày 8/7/2024.

  • #194 của @michaelhoehn — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

type:feature
Description:

I'm working with @enarhi on a workflow that requires JSON output of single objects. Right now as we are still designing the fixed schema, we are working with custom objects. I noticed some unusual behavior when examining the files in a text editor, that the file adapter always wraps everything in an array [ and ] regardless of how many objects one is trying to push. This has created some headaches downstream where our read is not expecting an array structure of a single object.

This is also the case when pushing a single BHoM object. The output is always wrapped in an array.

Ngôn ngữ chính
C#
Star
0
Fork
7
Merge trung bình
5 ngày 8 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của BHoM/File_Toolkit

Tất cả issue của BHoM/File_Toolkit

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.