in Explorer window, Right-Click on first file and select:

then Right-Click on second file and select:

Screencast:

Answer from Rakka Rage on Stack Overflow
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
JSON Diff Pro - Visual Studio Marketplace
Extension for Visual Studio Code - A powerful tool for comparing and visualizing differences between JSON objects, featuring an intuitive interface with advanced formatting, error handling, and real-time diff generation.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
JSON Diff Side-by-Side - Visual Studio Marketplace
Extension for Visual Studio Code - A VS Code extension that provides a side-by-side view for comparing and visualizing differences between JSON files or text. Leverages VS Code's built-in diffing and JSON formatting capabilities
🌐
GitHub
github.com › L13 › vscode-diff
GitHub - L13/vscode-diff: Compare two folders in Visual Studio Code · GitHub
l13DiffFocus - The value is true if a diff panel has focus. l13DiffListFocus - The value is true if the list view has focus. l13DiffInputFocus - The value is true if the left or right input has focus. l13DiffSearchFocus - The value is true if the search input has focus. The extension is written with security in mind. Paths will be sanitized before they are used and if the file .vscode/settings.json is available in a workspace the content will be parsed with the native JSON parser to get the values of l13Diff.exclude.
Starred by 106 users
Forked by 10 users
Languages   TypeScript 83.8% | JavaScript 9.4% | SCSS 6.2% | HTML 0.6%
🌐
Reddit
reddit.com › r/vscode › diff with merge for json files
r/vscode on Reddit: Diff with Merge for JSON files
October 10, 2022 - What is the best way to compare 2 large JSON files in order to create a new JSON composed of the selected objects? Is there a VSCode extension that can do this? The specific problem: We have 2 large JSON files which were derived from 2 physically different systems.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
SemanticDiff - Visual Studio Marketplace
Extension for Visual Studio Code - Programming language aware diffs for Visual Studio Code.
Find elsewhere
🌐
DEV Community
dev.to › pharzan › i-made-a-simple-vscode-extension-for-json-comparison-174m
I made a simple vscode extension for json comparison - DEV Community
October 4, 2024 - This extension sorts JSON files before comparison to make it easier to spot the differences in JSON files.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Visual JSON Diff - Visual Studio Marketplace
Extension for Visual Studio Code - Show a visual diff for modified JSON files in Source Control.
🌐
GitHub
github.com › micnil › vscode-diff
GitHub - micnil/vscode-diff: A small, zero-dependency text differencing library extracted from the open source VS Code · GitHub
A small, zero-dependency text differencing library extracted from the open source VS Code - micnil/vscode-diff
Starred by 61 users
Forked by 3 users
Languages   TypeScript 99.8% | JavaScript 0.2%
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Diff - Visual Studio Marketplace
Extension for Visual Studio Code - Diff 2 opened files with ease. Because running `code --diff path1 path2` is too slow.
🌐
Visual Studio Code
code.visualstudio.com › docs › languages › json
Editing JSON with Visual Studio Code
November 3, 2021 - When opening a file that ends with .json, VS Code provides features to make it simpler to write or modify the file's content.
🌐
SemanticDiff
semanticdiff.com › vscode
SemanticDiff For VS Code
SemanticDiff helps you review code diffs in VS Code faster by hiding irrelevant changes, detecting moved code, and highlighting refactorings.
🌐
JSON Diff
jsondiff.com
JSON Diff - The semantic JSON compare tool
Validate, format, and compare two JSON documents. See the differences between the objects instead of just the new lines and mixed up properties.
🌐
GitHub
github.com › jinsihou19 › vscode-diff-tool › blob › master › package.json
vscode-diff-tool/package.json at master · jinsihou19/vscode-diff-tool
"description": "Take a diff of 2 files", "version": "0.0.1", "publisher": "jinsihou", "engines": { "vscode": "^1.10.0" }, "categories": [ "Other" ], "keywords": [ "vscode", "diff" ], "activationEvents": [ "onCommand:extension.diffTool.diffToolLeft", "onCommand:extension.diffTool.diffToolRight" ], "main": "./extension", "contributes": { "commands": [ { "command": "extension.diffTool.diffToolLeft", "title": "DiffTool: Mark 1st file" },
Author   jinsihou19
🌐
SemanticDiff
semanticdiff.com › blog › visual-studio-code-compare-files
Comparing Files in Visual Studio Code
March 10, 2023 - This guide will tell you everything you need to know about comparing files in Visual Studio Code. Learn the different ways to select files for comparison and the tricks you can use to get better diffs.
🌐
GitHub
github.com › andreyvit › json-diff
GitHub - andreyvit/json-diff: Structural diff for JSON files · GitHub
% json-diff --help Usage: json-diff [-vCjfonskKp] first.json second.json Arguments: <first.json> Old file <second.json> New file General options: -v, --verbose Output progress info -C, --[no-]color Colored output -j, --raw-json Display raw JSON encoding of the diff -f, --full Include the equal sections of the document, not just the deltas --max-elisions COUNT Max number of ...s to show in a row in "deltas" mode (before collapsing them) -o, --output-keys KEYS Always print this comma separated keys, with their value, if they are part of an object with any diff -x, --exclude-keys KEYS Exclude these comma separated keys from comparison on both files -n, --output-new-only Output only the updated and new key/value pairs (without marking them as such).
Starred by 1.2K users
Forked by 138 users
Languages   CoffeeScript 66.6% | JavaScript 33.4%
🌐
Daily .NET Tips
dailydotnettips.com › home › how to compare files in visual studio code ?
How to Compare files in Visual Studio Code ? - Daily .NET Tips
November 28, 2017 - Select “Compare with ‘settings.json’” options, you should be able to view a side by side compare window with color highlighting on the changes as shown in image below.
🌐
VSCode.one
vscode.one › diff-vscode
How to do a Diff in VS Code (Compare Files)
VS Code has a very powerful diff tool. This quick post is going to teach you how to perform diffs (compare files) in VS Code.