rjson-parser 1.3.0

dotnet add package rjson-parser --version 1.3.0
                    
NuGet\Install-Package rjson-parser -Version 1.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="rjson-parser" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="rjson-parser" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="rjson-parser" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add rjson-parser --version 1.3.0
                    
#r "nuget: rjson-parser, 1.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package rjson-parser@1.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=rjson-parser&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=rjson-parser&version=1.3.0
                    
Install as a Cake Tool

npm Package Version Minified Package Size npm Package Downloads JS Test Coverage

Welcome to RichJSON -- JSON with inheritances, references and commands

RichJSON is a powerful extension of the standard JSON format, meticulously designed to make your data highly modular, reusable, and significantly more compressed. By eliminating redundancy through intelligent referencing, it bridges the gap between human-readable configuration and machine-efficient data structures.

📦 Get Started (You can find the Wiki here.)

npm install @rjson/parser
<dependency>
    <groupId>io.github.0xmaxlab</groupId>
    <artifactId>rjson-parser</artifactId>
    <version>1.3.0</version>
</dependency>
dependencies {
    implementation 'io.github.0xmaxlab:rjson-parser:1.3.0'
}
pip install rjson-parser

TODOs:


🌟 Why RichJSON?

RichJSON is optimized to store JSON data in a space-efficient manner. While standard JSON often suffers from "data bloat" due to repeated objects, RichJSON allows you to define data once and reference it everywhere. Read more about in the documentation.

This library is optimized for compact storage and network bandwidth savings. It is designed for scenarios where reducing IO and footprint is more critical than raw writing or querying throughput.


✨ Key Features

RichJSON maintains 100% compatibility with standard JSON parsers while introducing a sophisticated layer of logic:

  • Zero-Violation Format: Valid JSON syntax that any standard editor can read.
  • Smart Referencing ($ref): Point to objects, files, or environment variables to avoid duplication.
  • Multi-Inheritance: Build complex objects by inheriting from existing JSON structures.
  • Nested Interpolation: Dynamic string resolution within your data fields.
  • Custom Commands: Extend the logic with your own modules for specific business use cases.

🛠️ How It Works (read more...)

RichJSON transforms static files into dynamic structures. Here is the "magic" in action:

1. Define your structure
{ 
  "data_template": {
    "data0": "value",
    "data1": "value",
    "data2": "value"
  },
  "applied_reference": "$ref:data_template" 
}
2. Resolve the data
import * as RichJson from "@rjson/parser"

let obj = RichJson.parse(data);
3. The Result

The output is a fully resolved, standard JSON object where all references are hydrated:

{
  "data_template": {
    "data0": "value",
    "data1": "value",
    "data2": "value"
  },
  "applied_reference": {
    "data0": "value",
    "data1": "value",
    "data2": "value"
  }
}

Auther's recomendation: start reading the Wiki

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.0 106 8/5/2026