hjson VS json-c

Compare hjson vs json-c and see what are their differences.

json-c

https://github.com/json-c/json-c is the official code repository for json-c. See the wiki for release tarballs for download. API docs at http://json-c.github.io/json-c/ (by json-c)
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
hjson json-c
5 18
2,629 2,871
0.5% 0.7%
4.8 7.3
24 days ago 7 days ago
HTML C
MIT License GNU General Public License v3.0 or later
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.

hjson

Posts with mentions or reviews of hjson. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-23.
  • Why the fuck are we templating YAML? (2019)
    27 projects | news.ycombinator.com | 23 Jan 2024
    HJson https://hjson.github.io seems a nice 'in-between' between YAML and JSON without the indentation-based syntax, so closer to the JSON side but with comments and less quotes.

    What I don't really get is why the cloud providers / tooling implementors have never drafted up a "YAML-light" that just throws out the rarely-used headache-inducing syntax elements.

  • That's a Lot of YAML
    14 projects | news.ycombinator.com | 28 Sep 2023
    Hjson is very similar to JSON5 but allows quotes to be dropped and can use newlines instead of commas. There are implementations for a lot of different languages, I myself contributed the C++ implementation. I wanted something smaller than Yaml but more lax than JSON, found Hjson to suit my needs perfectly.

    https://hjson.github.io/

  • The real reason JSON has no comments
    6 projects | /r/ProgrammerHumor | 16 May 2023
    JSONs make terrible config files. If you want to use json-like syntax for config, use hjson instead. It's basically json, but changes it slightly so it better matches human expectations.
  • The YAML Document from Hell
    19 projects | news.ycombinator.com | 12 Jan 2023
    ```

    YAML and JSON succeeded because they had a clean and predictable, no-nonsense mapping between encoding and object-model after decoding. Probably we should all switch to an almost-yaml format that does away with the peculiarities, and the FANG companies would have the momentum to make that happen.

    I personally would like for HJSON (https://hjson.github.io) to see more adoption, but that train has passed...

  • Why?
    2 projects | /r/ProgrammerHumor | 7 Sep 2022
    There’s also json-c and Hjson.

json-c

Posts with mentions or reviews of json-c. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-03.

What are some alternatives?

When comparing hjson and json-c you can also consider the following projects:

noyaml - A silly emotional rant about the state of devops tooling/the infrastructure sector in 2018. #noyaml.com

cJSON - Ultralightweight JSON parser in ANSI C

yj - CLI - Convert between YAML, TOML, JSON, and HCL. Preserves map order.

Jansson - C library for encoding, decoding and manipulating JSON data

LIBUCL - Universal configuration library parser

JsonCpp - A C++ library for interacting with JSON.

www.yaml.org - The yaml.org website

JSMN - Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket

cuetorials.com - Learn you some CUE for a great good!

json - JSON for Modern C++

json2jsii - Generates jsii-compatible structs from JSON schemas

libjson - a JSON parser and printer library in C. easy to integrate with any model.