awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
J

json5/json5

0
View on GitHub↗
7,132 stars·275 forks·JavaScript·17 views

Json5

JSON5 is a parser and serializer for a human-readable configuration format that extends JSON. It serves as a JavaScript-based data parser that allows for a more flexible version of the JSON specification to simplify manual editing of data files.

The project provides capabilities to support comments, trailing commas, and multi-line strings. It includes utilities to convert this extended syntax into standard JSON for compatibility with tools requiring strict specifications.

The library covers data serialization, string parsing, and structural syntax validation. It also provides integration for loading files through native Node.js module loading mechanisms.

Features

  • JSON Parsing - Serves as a comprehensive utility for converting human-readable JSON5 strings into native JavaScript data structures.
  • Regex Pattern Matching - Employs regular expression pattern matching to identify and strip comments and string literals from input.
  • JSON Stringification - Provides functions to convert JavaScript data values into JSON5 strings with property filtering.
  • Data Serialization - Implements data serialization to encode JavaScript objects into the flexible JSON5 format.
  • Data Serialization and Parsing - Provides a complete toolset for both parsing and stringifying data using the JSON5 extended syntax.
  • Recursive Descent Parsers - Uses a recursive descent parsing engine to translate JSON5 source text into JavaScript data structures.
  • Human-Readable Configuration Standards - Implements a data serialization standard that extends JSON to support multi-line strings and comments.
  • Flexible JSON Parsers - Converts strings into JavaScript objects using a flexible version of the JSON specification.
  • Human-Readable Serialization - Supports human-readable serialization by allowing comments, trailing commas, and multi-line strings.
  • String Parsing - Provides capabilities to parse formatted JSON5 strings into structured JavaScript data objects.
  • String Tokenization - Implements string tokenization to break input text into discrete atoms before the parsing phase.
  • JSON Syntax Converters - Provides a utility to transform extended JSON5 syntax into standard JSON for strict compatibility with other tools.
  • JSON5 to JSON Converters - Transforms extended syntax documents into standard JSON format to ensure compatibility with strict specifications.
  • Syntax Validation - Provides utilities to verify the syntactical correctness of JSON5 documents without full deserialization.
  • Custom Parsing Functions - Supports custom parsing functions that modify values as they are extracted during the JSON5 parse process.
  • Human-Readable Configuration Formats - Enables the creation of config files with comments and trailing commas for easier manual maintenance.
  • Format - Provides a layer that converts extended JSON5 syntax into standard JSON for compatibility with strict tools.
  • JSON and Data Schema Tools - JSON extension allowing comments and easier syntax.

Star history

Star history chart for json5/json5Star history chart for json5/json5

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Json5

Similar open-source projects, ranked by how many features they share with Json5.
  • sbjson/sbjsonSBJson avatar

    SBJson/SBJson

    3,717View on GitHub↗

    SBJson is an Objective-C JSON parser and generator designed for the parsing and generation of JSON data. It functions as a strict JSON validator, enforcing rigid grammar rules to ensure input data adheres to formal specifications. The project features an incremental JSON stream parser that processes UTF8 data in chunks to extract documents without loading the entire payload into memory. It also serves as a JSON data serializer that transforms native data objects into formatted strings using deterministic key sorting. The system manages data serialization workflows and implements security mea

    Objective-C
    View on GitHub↗3,717
  • oils-for-unix/oilsoils-for-unix avatar

    oils-for-unix/oils

    3,288View on GitHub↗

    Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and Bash compatibility. It functions as a structured data shell, integrating JSON and J8 formats to manage complex data without relying on string parsing. The system is distinguished by a C++ transpiled interpreter that converts a subset of Python source code into strongly typed C++ for high-performance execution. It features a garbage-collected typed runtime that supports prototype-based polymorphism, lexical closures, and reference-based variable mutation. To decouple shell logic

    Python
    View on GitHub↗3,288
  • miloyip/json-tutorialmiloyip avatar

    miloyip/json-tutorial

    7,939View on GitHub↗

    This is an educational tutorial that walks through implementing a complete JSON library from scratch in C. The project covers the full data lifecycle of JSON, including parsing text into structured in-memory representations, validating input against the specification, serializing data back into standard JSON output, and providing structured access to elements within parsed arrays and objects. The implementation is built around a hand-written recursive descent parser that processes JSON text by matching grammar rules to build a structured data tree. Parsed values are stored in a tagged union r

    C
    View on GitHub↗7,939
  • pocoproject/pocopocoproject avatar

    pocoproject/poco

    9,438View on GitHub↗

    POCO is a comprehensive C++ application framework that provides a cross-platform set of libraries for building network-centric applications. It offers a unified abstraction layer that wraps platform-specific APIs, enabling the same code to run across desktop, server, mobile, IoT, and embedded systems. The framework is organized into modular libraries that can be compiled and linked selectively, allowing developers to include only the components their application needs. The framework distinguishes itself through its broad coverage of application infrastructure needs, including threading and sy

    C++c-plus-plusconfigurationcross-platform
    View on GitHub↗9,438
See all 30 alternatives to Json5→

Frequently asked questions

What does json5/json5 do?

JSON5 is a parser and serializer for a human-readable configuration format that extends JSON. It serves as a JavaScript-based data parser that allows for a more flexible version of the JSON specification to simplify manual editing of data files.

What are the main features of json5/json5?

The main features of json5/json5 are: JSON Parsing, Regex Pattern Matching, JSON Stringification, Data Serialization, Data Serialization and Parsing, Recursive Descent Parsers, Human-Readable Configuration Standards, Flexible JSON Parsers.

What are some open-source alternatives to json5/json5?

Open-source alternatives to json5/json5 include: sbjson/sbjson — SBJson is an Objective-C JSON parser and generator designed for the parsing and generation of JSON data. It functions… oils-for-unix/oils — Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and… pocoproject/poco — POCO is a comprehensive C++ application framework that provides a cross-platform set of libraries for building… miloyip/json-tutorial — This is an educational tutorial that walks through implementing a complete JSON library from scratch in C. The project… vba-tools/vba-json — VBA-JSON is a library designed for parsing and serializing JSON data within Visual Basic for Applications… johnezang/jsonkit — JSONKit is an Objective-C library used for parsing, serializing, and manipulating JSON data. It functions as a JSON…