Skip to content

Conversation

hirmiura
Copy link
Contributor

@hirmiura hirmiura commented Jun 8, 2023

Mostly same as #127.
This is also for jsondiff.

Example:
t1.json: {"test": "test"}
t2.json: {"test": "テスト"}

Without the support:

$ jsondiff t1.json t2.json 
[{"op": "replace", "path": "/test", "value": "\u30c6\u30b9\u30c8"}]

With the support:

$ jsondiff -u t1.json t2.json
[{"op": "replace", "path": "/test", "value": "テスト"}]

@stefankoegl stefankoegl merged commit a76f742 into stefankoegl:master Jun 16, 2023
@stefankoegl
Copy link
Owner

Thanks for the contribution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants