Unparse function
Đang mở
- Ngôn ngữ chính
- Go
- Star
- 4
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
We should add a function that serializes an arbitrary object to SHON.
```go
func Unparse(obj any) ([]string, error)
```
The playground can become bidirectional between JSON and SHON.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Look at the existing parsing code to understand the SHON format. The new Unparse function must serialize any Go object to SHON strings. Start by examining the public API and existing tests to see how objects are currently parsed. Write tests for Unparse to verify it produces valid SHON from various inputs, then implement the function to match the format.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- go
- Lĩnh vực
- cli, tooling
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 65/100