jsonc VS php-json-comment

Compare jsonc vs php-json-comment and see what are their differences.

jsonc

Golang (v1.13+) JSON5 preprocessor supporting comments, trailing comma, unquoted key/single-quoted string, hex number, trailing decimal point, literal newlines and more. (by adhocore)

php-json-comment

Lightweight JSON comment and trailing comma stripper library for PHP with support for literal newlines and nested JSON strings. (by adhocore)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
jsonc php-json-comment
1 1
15 31
- -
0.9 2.0
about 1 year ago 7 months ago
Go PHP
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

jsonc

Posts with mentions or reviews of jsonc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-12.

php-json-comment

Posts with mentions or reviews of php-json-comment. We have used some of these posts to build our list of alternatives and similar projects.
  • Library to support JSON with comments and trailing comma in PHP
    1 project | dev.to | 5 Apr 2021
    Unlike XML and YAML, JSON lacks native support for comments which is often missed. In addition, the trailing comma which would make diff on multiline value neat is also not available in JSON. If you are on PHP, then here is a little library adhocore/json-comment to fix it in the userland.

What are some alternatives?

When comparing jsonc and php-json-comment you can also consider the following projects:

json5 - JSON5 — JSON for Humans

psl - 📚 PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers

Bludit - Simple, Fast, Secure, Flat-File CMS

Polr - :aerial_tramway: A modern, powerful, and robust URL shortener

JsonMapper - Map nested JSON structures onto PHP classes