🌐
JSON
json.org › example.html
JSON Example
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"> <web-app> <servlet> <servlet-name> cofaxCDS </servlet-name> <servlet-class> org.cofax.cds.CDSServlet </servlet-class> <init-param> <param-name>configGlossary:installationAt</param-name> <param-value>Philadelphia, PA</param-value> </init-param> <init-param> <param-name>configGlossary:adminEmail</param-name> <param-value>ksm@pobox.com</param-value> </init-param> <init-param> <param-name>configGlossary:poweredBy</param-name>
🌐
GitHub
github.com › json-iterator › test-data › blob › master › large-file.json
test-data/large-file.json at master · json-iterator/test-data
sample json file for testing. Contribute to json-iterator/test-data development by creating an account on GitHub.
Author   json-iterator
Discussions

documentation - Syntax for documenting JSON structure - Stack Overflow
So I'm trying to document the format of the json returned by an api I am writing against and I'd like to know if there is any popular format for the documentation of json structure. Note: I'm not t... More on stackoverflow.com
🌐 stackoverflow.com
Looking for a PyQt5 example to put a Json file into a treeview model item
First off I'd recommend posting in r/learnpython as you might get a few more replies over there. Second, you may consider breaking the problem in two. The are numerous ways to load Jason data into Python, with loading to a dict most likely the easiest. Thus you may find it easier to focus on how to translate the JSON data structure into your tree view items as the loading of the JSON shouldn't be difficult nor does it directly relate to PyQt. More on reddit.com
🌐 r/Python
4
2
September 2, 2016
Example of working JSON file for Dreambooth extension

JSON starts with { and ends with } and it shouldn't have a space before or after. You cannot include comments like you can with js.

Never leave a comma at the end, always use double quotes " not single ' and make sure it follows something like...

{ "objectProp1": "object content", "objectProp2": "object content with no comma because it's the last prop in the object" }

You can also have nested properties but the general rules above typically apply. This is from memory so might be a bit wonky but if this fails to help, use a online Json checker to see if your Json is valid.

If you have funky emojis and stuff maybe you will need to "escape" them, Google html encoding or Json character escaping to get the friendly versions of unicode characters

More on reddit.com
🌐 r/sdforall
6
4
September 22, 2021
XMRig JSON Config File Guide
You can use https://xmrig.com/wizard to generate minimal config.json, then start xmrig with it and it will auto-fill everything needed for your CPU. Command-line options mostly duplicate what's available in config.json, so you can use that page for reference. More on reddit.com
🌐 r/MoneroMining
6
5
January 10, 2021
🌐
W3Schools
w3schools.com › js › js_json.asp
W3Schools.com
JSON Intro JSON Syntax JSON vs XML JSON Data Types JSON Parse JSON Stringify JSON Objects JSON Arrays JSON Server JSON PHP JSON HTML JSON JSONP JS jQuery · jQuery Selectors jQuery HTML jQuery CSS jQuery DOM JS Graphics · JS Graphics JS Canvas JS Plotly JS Chart.js JS Google Chart JS D3.js JS Examples
text-based open standard designed for human-readable data interchange
whitespace
object
combox respuesta json
JSON (JavaScript Object Notation, pronounced /ˈdʒeɪsən/ or /ˈdʒeɪˌsɒn/) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of name–value pairs … Wikipedia
Factsheet
JavaScript Object Notation
Filename extension .json
Internet media type application/json
Factsheet
JavaScript Object Notation
Filename extension .json
Internet media type application/json
🌐
Wikipedia
en.wikipedia.org › wiki › JSON
JSON - Wikipedia
March 6, 2005 - Examples include · GeoJSON, a format designed for representing simple geographical features · JSON-LD, a method of encoding linked data using JSON · JSON-RPC, a remote procedure call protocol encoded in JSON · JsonML, a lightweight markup ...
🌐
Example File
examplefile.com › code › json
Sample JSON Files Download - Example File
Here you can download the dummy (sample) json files you need for free. ... Explore our collection of sample CSV files, available in various sizes to meet your testing and development needs. These files are perfect for evaluating your application and software's data processing capabilities, file upload performance and overall system efficiency. Whether you are working on data import/export functions or simply need test data, our CSV files provide a reliable solution. View Example ...
🌐
Stack Overflow
stackoverflow.blog › 2022 › 06 › 02 › a-beginners-guide-to-json-the-data-format-for-the-internet
A beginner's guide to JSON, the data format for the internet - Stack Overflow
Currently, you can get equivalent functionality by exporting a JavaScript Object the same as your desired JSON from a JavaScript file. ... Now this object will be stored in the constant, data, and will be accessible throughout your application using import or require statements. Note that this will import a copy of the data, so modifying the object won’t write the data back to the file or allow the modified data to be used in other files. Once you have a variable containing your data, in this example data, to access a key’s value inside it, you could use either data.key or data["key"]. Square brackets must be used for array indexing; for example if that value was an array, you could do data.key[0], but data.key.0 wouldn’t work.
Find elsewhere
🌐
GitHub
gist.github.com › saltukalakus › 124bba04327d8e5eab605d4fb66c53b8
Sample users JSON file to import · GitHub
Sample users JSON file to import · Raw · sample_users_with_id.json · This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
🌐
SitePoint
sitepoint.com › blog › apis › database json file
Database JSON File — SitePoint
February 12, 2024 - mongoimport --db api --collection products --drop --jsonArray --file products.json
🌐
freeCodeCamp
freecodecamp.org › news › what-is-json-a-json-file-example
JSON for Beginners – JavaScript Object Notation Explained in Plain English
November 29, 2021 - Let's create an employee.json file with attributes (represented by keys and values) of an employee.
🌐
Adobe
opensource.adobe.com › Spry › samples › data_region › JSONDataSetSample.html
JSON Data Set Sample
If the data you want to extract out is not at the top-level of the JSON object, you can tell the JSON data set where to find it by using the "path" constructor option. In this example, we want to extract out all of the "batter" data:
🌐
Spiceworks
spiceworks.com › spiceworks inc › soft-tech › json types, functions, and uses with examples - spiceworks inc
JSON Types, Functions, and Uses with Examples
December 16, 2025 - An excellent example of such a language is JSON. JSON or JavaScript Object Notation is a standard text-based format developed from the JavaScript object syntax and used to portray structured data. JSON, pronounced as ‘jason’, is an open standard format for creating and storing files or exchanging data that uses comprehensible and human-readable text made up of attributes and serializable values.
🌐
Agentsfordata
agentsfordata.com › json tools › json samples
Sample JSON Data Files - Download Free JSON Examples
Download free sample JSON data files for testing and development. Includes datasets for APIs, testing, and learning JSON structure.
🌐
JSON
json.org
JSON
Json · FileMaker · JSON · Fortran · json-fortran · YAJL-Fort · jsonff · Go · package json · Groovy · groovy-io · Haskell · RJson package · json package · Java · JSON-java · esson · JSONUtil · jsonp · Json-lib · Stringtree · SOJO · json-taglib ·
🌐
SitePoint
sitepoint.com › blog › javascript › example customer form json file
Example Customer Form JSON File — SitePoint
February 12, 2024 - This is an example of a Customer Form JSON file which you might see used to store configuration settings to setup your system and hold your customer records.
🌐
Codeblogmoney
codeblogmoney.com › json-example-with-data-types-including-json-array
JSON Example with Data Types Including JSON Array
July 3, 2018 - Valid JSON Data Types String Number Object Array Boolean Null 1. JSON String Example: 1 2 3 4 5 { "firstname": "Tom", "lastname": "Cruise", "occupation": "Actor" } This example shows information about a person, and you know Tom Cruise.
🌐
IBM
ibm.com › docs › en › db2 › 11.5.x
JSON documents
JSON documents consist of fields, which are name-value pair objects. The fields can be in any order, and be nested or arranged in arrays.
🌐
JSON Editor Online
jsoneditoronline.org › home › datasets › json-file-example
Exploring the power of JSON: a real-life JSON file example collection
July 25, 2023 - There are some large files included to be able to do performance tests for example. Here is a basic JSON example. It is an object with three properties: a name, age, and city.
Top answer
1 of 8
45

In theory JSON Schema could serve this purpose, but in practice I am not sure it does. Worth mentioning I hope.

Other than this, my personal opinion is that since JSON is predominantly used for transferring objects, documenting equivalent objects in language client uses (Java, C#, various scripting languages) may make most sense -- after all, such objects usually are mapped/bound to JSON and back. And then you can use whatever documentation tools are available, like Javadoc for Java (perldoc for Perl, Oxygen for c++ etc etc).

For specifying interfaces there is also WADL (Web App Description Language), which might help.

2 of 8
16

How to generate a HTML Documentation from JSON:

You will need to generate a Json Schema, there is this service that you can paste the orginal JSON and auto generate the Schema:

http://www.jsonschema.net/

With the schema in hands you can auto generate the HTML Documentation using Matic.

https://github.com/mattyod/matic

Generating HTML

To Install Matic you will need install Node.js: http://nodejs.org/

On Windows, run CMD

Install Jade running this command: npm install -g jade

Open the Downloaded Matic folder from Github: cd PATH_TO_FOLDER/matic

Run the install command: npm install -g

Download a documentation example project: https://github.com/mattyod/matic-simple-example

Put your schema in the folder "schemas"

Open the project folder: cd PATH_TO_PROJECT_FOLDER

Run command: matic

You should see a success message: Documentation built to ./web/

🌐
DigitalOcean
digitalocean.com › community › tutorials › java-json-example
Java JSON Example | DigitalOcean
August 4, 2022 - Let’s look into the usage of Java JSON API with simple program, we have a JSON object stored in a file employee.txt as;
🌐
4JS
4js.com › online_documentation › fjs-fgl-manual-html › fgl-topics › c_fgl_ext_util_JSON_example_1.html
Genero Business Development Language - Example 1: Reading a JSON file
IMPORT util MAIN DEFINE jsondata TEXT, custlist DYNAMIC ARRAY OF RECORD num INTEGER, name VARCHAR(40) END RECORD, tmp STRING LOCATE jsondata IN FILE "customers.json" TRY CALL util.JSON.parse( jsondata, custlist ) DISPLAY "Array length = ", custlist.getLength() LET tmp = util.JSON.stringify(custlist) DISPLAY util.JSON.format( tmp ) CATCH DISPLAY "ERROR:", status END TRY END MAIN