line / line/centraldogma

Allow choosing diff format for JSON

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
Dominant language
Java
Stars
668
Forks
135
Avg merge
4d 19h
Merged PRs (30d)
7

Description

Currently, a diff of a JSON file will always be represented in JSON patch format, which may not be a desired behavior when a user expects unified format. For example, some languages might not have proper JSON patch implementation.

We need to generalize this feature so a user can potentially ask for an alternative diff format for any file formats.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by locating the code that selects JSON patch output, then determine how diff format selection could apply across supported file formats; done means users can request an alternative format, including unified output, rather than always receiving JSON patch.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.