killercup / killercup/convey

Extend render_json! macro

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
Rust
Stars
38
Forks
6
PR merge metrics
No merged PRs in 30d

Description

- [ ] Support passing in a JSON-structure with substitutions in `render_json!`
- can most likely pass all tokens down to serde_json's `json!` macro

https://github.com/killercup/output-rs/blob/d28762e34d20976812542ab8dbd76fc3f1318919/src/json.rs#L63

Contributor guide

Open the contributing guide

Research direction

Start with the linked src/json.rs implementation of render_json! and compare its macro inputs with serde_json's json! macro. Confirm how JSON structures with substitutions should be accepted, then verify that render_json! supports that syntax and preserves the expected output.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.