FeatureReq: assign `YAML::Emitter` to `YAML::Node` (multiline string to yaml-cpp node)

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, yaml
Lĩnh vực
backend

Hướng nghiên cứu

Start by reading the YAML::Emitter and YAML::Node APIs and the linked Stack Overflow discussion to understand how emitted multiline strings can be assigned to a node. Identify the relevant assignment and emitter tests, then define expected behavior for assigning an emitter to a node. Done means the requested assignment compiles and preserves the multiline string in the node's YAML output.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature help wanted

I'd like to be able to:

  YAML::Emitter out;
  out << YAML::Literal << val;            
  yamlContent[key] = out

See also:
https://stackoverflow.com/questions/22231418/adding-multiline-string-to-a-yaml-cpp-node

Ngôn ngữ chính
C++
Star
6.1k
Fork
2.2k
Merge trung bình
22 giờ 2 phút
Pull request đã merge (30 ngày)
1

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 jbeder/yaml-cpp

Tất cả issue của jbeder/yaml-cpp

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.