r/json • • Mar 04 '26

Hey! Just launched JSONic – a lightweight JSON utility I built over the weekend. Would love your feedback!

Post image
34 Upvotes

r/json • • Apr 20 '16

Cutting Sex Inside Vagina Plus Music, HD Porn 9c: xHamster

Thumbnail
xhamster.com
17 Upvotes

r/json • • Jan 25 '25

Useful JSON viewer – JviewSON

14 Upvotes

Hey everyone!

I recently made a little tool called JviewSON, and I thought it might come in handy for anyone who works with JSON files regularly. It’s simple and designed for viewing and analyzing JSON files without any unnecessary extras.

A few key features:

  • Displays JSON data in a clean and easy-to-read structure.

  • Built-in search to help you find what you need fast.

  • Automatically updates if the JSON file changes in the background.

  • It’s view-only, so no risk of accidentally editing your data.

If you’re curious, you can check it out on itch.io, where you can also run a browser-based version without downloading:
https://pocdev.itch.io/jviewson

Or if you prefer to dig into the code (made in Godot) here’s the GitHub repo:
https://github.com/andreas-volz/JviewSON

Would love to hear what you think or if you have any ideas for improvement!


r/json • • Jul 09 '26

jsonfold: Making Pretty-Printed JSON Compact and Readable

13 Upvotes

Most JSON serializers give you only two choices:

  • compact machine output:

{"a":{"b":{"c":"abc"}},"x":{"y":{"z":"xyz"}}}
  • or fully expanded “pretty-print”:

{ "a":
  { "b":
    { "c": "abc" }
  },
  "x": {
    "y": {
      "z": "xyz"
    }
  }
}

I wanted something in between: the first is hard for humans to scan, and the second becomes extremely verbose on real-world nested data.

The Idea

I wrote a small Python module called jsonfold. Instead of replacing Python’s JSON serializer (and similar serializers), it works as a lightweight post-processing filter on top of json.dump() output.

The formatter selectively:

  • folds small containers back onto one line,

  • packs short scalar sequences,

  • keeps large or complex structures expanded.

Example output:

{
  "a": { "b": { "c": "abc" } },
  "x": { "y": { "z": "xyz" } }
}

Why This Approach?

I did not want to rebuild a serializer - there are many good serializers (including the built-in json.dump()) that can efficiently process anything from simple data structures (list/dict) to custom classes and Python @dataclass objects. In addition, many provide custom encoding hooks for application-specific objects.

The interesting part of jsonfold is that it does not re-parse the JSON stream or build a second JSON tree. It operates as a streaming wrapper around file-like objects:

json.dump(obj, JSONFoldWriter(fp), indent=2)

That means it can handle large documents with fixed memory usage and linear processing time. This approach works with serializers that emit indented JSON to a file-like object. jsonfold also provides wrappers for json.dump(), json.dumps().

from jsonfold import dumps

data = {
    "a": {"b": {"c": "abc"}},
    "x": {"y": {"z": "xyz"}},
}

print(dumps(data))

Customization

The formatter allows controlling:

  • maximum line width,

  • folding depth,

  • packing aggressiveness,

  • array/object limits.

So you can choose between conservative formatting and more aggressive compaction.

Full Article:

Medium (no paywall): A Streaming JSON Formatter That Works With Existing Serializers

Minimal Usage

Pull jsonfold from pypi: pip install jsonfold

import jsonfold
import sys
data = {
    "meta": {"version": 1, "ok": True},
    "ids": [1, 2, 3, 4, 5],
    "items": [{"id": 1, "name": "alpha"}, {"id": 2, "name": "beta"}],
}
# compact can be: default, low, med, high, max
jsonfold.dump(data, sys.stdout, compact="default")

GitHub Project

Repository: https://github.com/yairlenga/jsonfold

Python implementation is under python directory.


r/json • • Jul 13 '25

Tired of messy JSON or need to compare files quickly? I made a suite of free, private online JSON tools!

13 Upvotes

Hey everyone, I wanted to share a set of free online JSON tools I've been working on, designed to make your daily dev life a bit easier. We often deal with JSON, and I found myself constantly needing quick ways to:

  • ✅ Validate & Beautify JSON: Check for syntax errors and make unreadable JSON clean and structured.

  • ↔️ Compare JSON: Easily spot the differences between two JSON files. Super handy for API versioning or debugging!

  • 🔀 JSON Difference: Get a clear, highlighted view of what's changed between two JSON payloads. These tools are built to be super fast, private (your data stays in your browser!), and can handle even large JSON payloads without breaking a sweat. Give them a try and let me know what you think! Any feedback is highly appreciated.

Link: https://needfortools.com


r/json • • Jan 14 '26

Created a usable JSON table editor. Might come handy to others

12 Upvotes

Had a requirement to better visualize and edit JSON object in a table view, so made this. Please check it out.

https://jsonlife.github.io/json-table-editor/


r/json • • Jan 11 '26

I built an Android app that handles huge JSON files (tested up to several GB)

12 Upvotes

Hi r/json,

I built a JSON viewer for Android called Giant JSON Viewer and I'm looking for honest feedback from people who actually work with large JSON files.

Background: I don't personally work with massive server dumps - my own JSON files are usually smaller. But I took it as a challenge when I decided to build this: can I make an Android app that opens multi-gigabyte files without crashing or freezing?

Technical approach:

  • Streaming parser that avoids loading the entire file into memory

  • On-disk indexing for random access to any position

  • Virtualized rendering for smooth scrolling through millions of lines

  • Rust core (via JNI) for performance-critical parsing

Features:

  • Text Mode - Raw text with regex search, syntax highlighting

  • Browser Mode - Tree navigation with JSONPath, bookmarks

  • Structure Mode - Schema visualization as interactive graph

  • Graphical query builder (AND/OR logic)

  • Export to CSV, SQL, JSON Schema, TypeScript interfaces

  • NDJSON support

What I'm looking for:

  • Does it actually handle your real-world large files correctly?

  • Are there edge cases or formats it breaks on?

  • What important features am I missing?

Links:

Thanks in advance!


r/json • • Jul 16 '25

A Deep Dive into JSON: Part 2. JSON & Numbers

12 Upvotes

Ever needed to put quotes around a number to get around JSON's number format limitations? Douglas Crockford said of JSON, "Numbers are not quoted. It would be insane to require quotes around numbers". Of course, that is, unless that number is Hexadecimal, Complex, Infinity, or some other unsupported format. Part 2 of my 'A Deep Dive into JSON' series just went live and looks ridiculously close at JSON numbers and text based number formats in general.

A Deep Dive into JSON: Part 2. JSON & Numbers


r/json • • May 03 '26

One more tool for JSON inspection

Thumbnail
gallery
11 Upvotes

Over the past week I’ve been deep in debugging a pretty gnarly multi-layer integration — the kind where you’re constantly staring at huge JSON payloads, trying to understand what’s actually inside, and then turning that into clear bug reports or questions for other teams.

Pretty quickly I got tired of manually digging through nested structures, broken payloads, and JSON-inside-JSON situations. So I ended up writing a small CLI tool for myself called jray.

The idea is simple: treat JSON like an “X-ray” problem. Instead of pretty-printing it, flatten it into a list of .path=value pairs so you can immediately see what’s there, no matter how deeply nested or messy it is. It is very friendly to grep or similar tools.

A few things that turned out to be especially useful:

  • It’s error-tolerant — even if the JSON is malformed or incomplete, you still get as much data as possible + context around the error

  • It unwraps embedded JSON (strings containing JSON) automatically

  • It also detects and expands Base64-encoded JSON (golang way to marshal binary data)

  • Recognizes timestamps and even UUIDv7 (extracts time from them)

  • Handles multiple JSON objects in a stream (JSONL)

  • Doesn’t break on duplicate keys

If you deal with messy JSON regularly, this might save you some time (and sanity).

Repo: https://github.com/michurin/jray


r/json • • Apr 21 '26

Built a local-first data pipeline — convert, compress, upload to your own S3/GCS/Azure. Nothing leaves your machine.

Thumbnail
gallery
11 Upvotes

Built something I've been wanting for a while — a desktop app that handles the full file prep → cloud upload flow without anything touching a third-party server.

It does three things locally:

- **Convert** between 9 formats (JSON, CSV, TSV, NDJSON, Parquet, Excel, XML, Avro, Arrow — 32 operations)

- **Compress** using Meta's OpenZL — format-aware, gets 11× on JSON

- **Upload** direct to S3, GCS, Azure Blob, or SFTP using your own keys

Your cloud credentials live in the OS keychain. Upload goes directly from your machine to your bucket. Zippy's servers only handle license activation and payment — never your

files.

Also has a CLI for scripting pipelines, Watch Folders for auto-processing drops, Batch mode for whole folders, and an MCP server for Claude/Cursor if you use AI tooling.

macOS, Windows, Linux. Free tier is 10 GB/month, all features unlocked.

→ zippypro.xyz

Happy to answer questions about the local storage design or how the cloud credential handling works.


r/json • • Apr 01 '26

I built a JSON tool, but did AI make it useless?

11 Upvotes

I just finished building a JSON online tool (editor, viewer and validator). I think it’s pretty good, but now I’m worried.

In the AI era, does anyone still use JSON tools?

When I see a "JSON Error," my first thought is: "Just paste it into ChatGPT." So I started wondering—is my tool already dead?

But then, I still see some people asking about JSON errors online in reddit. So I want to ask: Do you still use a dedicated JSON tool? Or did AI coding replace everything for you?

I’m trying to decide if I should keep working on this or just stop.


r/json • • Sep 12 '25

Best JSON comparison tool

11 Upvotes

Hi All,

As a developer I have to compare multiple large JSON strings a lot of time while debugging or comparing API responses between different versions. Although there is a galaxy of json comparison tools out there, most of them either copy of each other or half baked solutions. Some of the famous ones even are not correct (*cough cough*hypertest*cough*). Most of them are filled with ads.

Thinking from first principles and design thinking, I created the best JSON comparison web app to help every developer and QA person.

Here are some of the things that stand out -

  • Dynamic comparison as you type/import JSON. You don't get stuck in read only mode post comparison. Keep editing/fixing while it dynamically calculates the diff.

  • Import multiple files or drag and drop json files into the editor.

  • Shows JSONPath of the value where your cursor is (separately in both editors!) Helps you keep track of where you are in large JSONs

  • Lets you jump to specific diff from the list or navigate using next/prev diff button

  • Is fast even with large JSON files

  • Set keybindings like VScode or Sublime text with your editor.

  • Others - ad free, download json (with custom name), swap left and right, ignore case, secure (all processing on client), compare multiple files on the same page by adding new "tools"

If you are a dev/QA/product person who needs to work with JSON, please try https://jsontoolbox.com/compare once and let me know your feedback.


r/json • • Jun 09 '26

Large file JSON viewer/search app for macOS

9 Upvotes

Hey,

I have been using Dadroit JSON viewer for years now, which has been quite nice, it can open and search gigabyte json files in seconds. Which no other application seems to be able to do.

However they still don't support apple silicon (So i won't be able to use it with the upcoming macOS version) and it now costs 100 usd/year... So i'm looking for some alternative, but have been unable to find any json viewer that can smoothly open large json files.

Anyone know of any that might support it? I don't mind paid options if they work well, but no 100 usd/year subscriptions lol.


r/json • • Apr 28 '26

Please help! How do I open .Json files?

9 Upvotes

When I got a new phone (pixel) in 2020 I used my work gmail to set it up (as it was mine and my bf at the time company) dumb I know. Once we broke up in 2023 I went and asked "experts" how to download everything from photos, and important docs to my laptop. As It was crazy inconvenient to do it individually and didn't want to take days to do so. I saw everything downloaded and didn't think of double checking to see if it was properly done. Today I was trying to find photos from that time and everything is in ".jpg.json".

Is there anyway I can convert it so I can see any of the photos and docs? Or is everything just gone?

also english isn't my first language sorry for the grammar.


r/json • • Jan 25 '26

Constela: Building Full UIs with Pure JSON (No JavaScript Required)

9 Upvotes

Hi everyone, I've been working on an open-source project that pushes JSON beyond configuration - using it as a complete UI programming language.

The Concept

What if you could build interactive UIs entirely in JSON? No JSX, no JavaScript, just validated JSON that compiles to efficient runtime code.

{
  "state": {
    "count": { "type": "number", "initial": 0 }
  },
  "actions": {
    "increment": {
      "steps": [{ "do": "update", "target": "count", "operation": "increment" }]
    }
  },
  "view": {
    "kind": "element",
    "tag": "button",
    "events": { "click": "increment" },
    "children": [
      { "kind": "text", "value": { "expr": "state", "name": "count" } }
    ]
  }
}

This JSON defines a complete counter app - state, actions, and view - all validated at compile time.

Why JSON for UI?

1. Schema Validation

Every program is validated against a strict JSON Schema. Invalid structure? Caught before runtime.

2. JSON Pointer Error Paths

Errors reference exact locations using RFC 6901 JSON Pointers:

Error [UNDEFINED_STATE] at /view/children/0/value/name

  Undefined state reference: 'count'

  Did you mean 'counter'?

3. AI-Friendly Generation

JSON's deterministic structure makes it perfect for AI code generation. The schema constrains output to valid programs only.

4. Static Analysis

Because it's JSON, we can analyze, transform, and optimize programs at build time without parsing JavaScript.

JSON DSL Design

The DSL uses a constrained but expressive structure:

Expressions (18 types)

{ "expr": "state", "name": "count" }
{ "expr": "bin", "op": "+", "left": {...}, "right": {...} }
{ "expr": "cond", "if": {...}, "then": {...}, "else": {...} }
{ "expr": "call", "target": "array", "method": "filter", "args": [...] }

Actions (14 step types)

{ "do": "set", "target": "name", "value": {...} }
{ "do": "update", "target": "items", "operation": "push", "value": {...} }
{ "do": "fetch", "url": "...", "onSuccess": {...}, "onError": {...} }

View (9 node types)

{ "kind": "element", "tag": "div", "props": {...}, "children": [...] }
{ "kind": "if", "condition": {...}, "then": {...}, "else": {...} }
{ "kind": "each", "items": {...}, "as": "item", "body": {...} }
{ "kind": "portal", "target": "body", "children": [...] }

What Can You Build?

Full web applications with:

  • Client-side routing with dynamic params

  • HTTP requests and WebSocket connections

  • localStorage/sessionStorage access

  • Form validation

  • SSR and hydration

  • MDX content rendering

Example: Todo List

{
  "state": {
    "todos": { "type": "list", "initial": [] },
    "input": { "type": "string", "initial": "" }
  },
  "actions": {
    "add": {
      "steps": [
        { "do": "update", "target": "todos", "operation": "push",
          "value": { "expr": "state", "name": "input" } },
        { "do": "set", "target": "input", "value": { "expr": "lit", "value": "" } }
      ]
    }
  },
  "view": {
    "kind": "element",
    "tag": "div",
    "children": [
      {
        "kind": "each",
        "items": { "expr": "state", "name": "todos" },
        "as": "todo",
        "body": {
          "kind": "element",
          "tag": "li",
          "children": [{ "kind": "text", "value": { "expr": "var", "name": "todo" } }]
        }
      }
    ]
  }
}

Technical Details

  • 42 error codes with structured error objects

  • Levenshtein-based suggestions for typos

  • 3-pass compiler: validate → analyze → transform

  • Type-safe: 5 state types (number, string, boolean, list, object)

  • 10 update operations: increment, decrement, push, pop, remove, toggle, merge, replaceAt, insertAt, splice

  • Component system with typed params, slots, and instance-local state

  • 24 UI components ready to copy-paste (Button, Dialog, Tabs, etc.)

Links

Curious what you think about using JSON as a programming language. Is this taking JSON too far, or an interesting application?


r/json • • Sep 18 '25

there was no accurate json diff tool on this planet so i built jsondiffpromax.com

9 Upvotes

the best jsondiff tool on this planet gives inaccurate line diff so i built jsondiffpromax.com, the best tool in this galaxy


r/json • • Sep 10 '25

I want to learn JSON

Thumbnail
scratch.mit.edu
9 Upvotes

I'm 13 years old (I know, pretty young to be learning coding). I've been wanting to code games for a while now, I'm starting with Minecraft Add-Ons which use JSON. I know how to use Scratch coding, I'm really good at it, I'm just wondering how I can learn JSON. If anyone knows a good option, please let me know!

*The link is Scratch, the coding I'm familiar with*


r/json • • Nov 23 '18

ELI5: what is json?

9 Upvotes

my first thought was to post to ELI5, but hell, one of you'd probably answer any how. Hope you guys don't mind. I'm a very junior coder and just tried to read the wikipedia article, and the 5-year old in me is still staring at the sky wondering if clouds have crushes on each other.


r/json • • May 21 '26

I got tired of online JSON formatters sending my data to remote servers, so I built my own 100% client-side tool.

8 Upvotes

Hey everyone,

As an infrastructure engineer, I work with JSON and YAML webhooks every single day. I hated pasting sensitive API payloads into random online formatters because almost all of them send your data to a backend server to process it. Plus, most of them crash if you try to format a 5MB log file.

So, I spent the last few months building PrettyJSON (https://prettyjson.org).

I built it as a React SPA that runs entirely in your browser using your local JavaScript engine. Your data never leaves your device.

A few features I added for my own workflow:

  • Handles massive files: Tested up to 10MB without crashing (uses virtualized rendering).

  • Built-in Diff Tool: Side-by-side comparison for Kubernetes YAML or JSON configs.

  • Code Generation: Generates TypeScript interfaces, Go structs, and Python Dataclasses straight from the JSON.

  • Auto-repair: Fixes trailing commas, missing quotes, and comments automatically.

It's completely free and there are no paywalls. I'd love for you guys to tear it apart, test it, and let me know if you find any bugs or have feature requests!

Link: https://prettyjson.org


r/json • • May 14 '26

Simplify nested JSON in seconds with level selection and visualization

Post image
8 Upvotes

Hey guys, I believe most of you know the pain of dealing with large nested JSON from API responses or production traces. It gets even more painful when this is your daily job and you have no good way to visualize it… except quitting :))

I ended up building one for myself with the features I needed:
- level selection
- visualize JSON as a graph node
- send JSON directly to the API Client tool and test it without leaving the current tab

Check it out if interested:
https://catssaymeow.org/json-formatter/


r/json • • Jul 19 '25

JSON validator with error highlighting and partial formatting of invalid json

Post image
8 Upvotes

I've created an online json validator which visually highlights where the error is in json and allows to partially format even invalid json. Had too much pain with this issue myself trying to find where tf this curly brace is missing.

https://networks.tools/json-validator


r/json • • Feb 11 '26

Streaming projection engine, extract fields at multi-gigabit speeds with O(1) memory

Thumbnail
github.com
7 Upvotes

r/json • • Mar 21 '21

JSON Data Generator

7 Upvotes

I am looking for a JSON data generator that will use a JSON schema as input and only generate valid JSON output. Does such a mechanism exist?

I've been using Fake your JSON-Schemas! (json-schema-faker.js.org), but it does not consider if-then-else rules in its generation process.

I am open to any ideas...websites, utilities, whatever.

TIA


r/json • • Jun 17 '20

Request: Sample JSON files

7 Upvotes

I'm working on a pretty printing utility for the Java JSON Simple library which typically spits out JSON as a single string, with no indentation or newline characters. It works great for the test JSON files I've been using, but I don't doubt that there are some corner cases where my parser will fail.

If you have a small JSON file with two or three thousand characters which includes nested objects and arrays and does not include any proprietary or confidential information, I'd appreciate you posting it here so that I can test my code.

Thanks in advance.


r/json • • Feb 04 '16

The best JSON web formatter (pretty print replacement)

Thumbnail pickyjson.com
7 Upvotes