think about fjson_object_to_json_string_fn type
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 61
- Forks
- 35
- Avg merge
- 21m
- Merged PRs (30d)
- 2
Description
Do we really need level and flags parameters in all functions? Should we replace the function pointers with a switch() statement based on the object type?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the fjson_object_to_json_string_fn entry point and its callers, focusing on how the level and flags parameters and function pointers are used. Determine the intended dispatch design and parameter scope before defining what completion would mean; the issue currently provides no tests or files to validate against.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100