insta
hujson
insta | hujson | |
---|---|---|
9 | 10 | |
2,016 | 571 | |
- | 2.1% | |
8.3 | 0.0 | |
6 days ago | 6 months ago | |
Rust | Go | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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.
insta
- Insta: Snapshot Testing Tool for Rust
-
Ron: Rusty Object Notation
Ron is quite practical if you are having a serializable interface, and you want to get debug like output from it for snapshotting purposes. I am using this with my insta snapshot testing library (https://insta.rs/) in some projects.
-
Conventional Wisdom as an Anti-Pattern
> If a test never fails, is it a good test? If I have to change a test everytime I change the implementation, is it a good test? Writing good tests is really difficult.
If you don't like writing / maintaining tests or don't have the time, let the computer write them for you! [0][1]
[0] https://insta.rs/
- Help Needed: Testing Insta Snapshot Testing Library 0.18
- Insta: An enjoyable snapshot testing tool for Rust
-
Self taught developers, how did you do it?
So you love to code and write programs and or websites. But that doesn’t show me that you’re doing it with the kind of mindset that you have when writing work code. Some of the basic things that distinguish that mindset is thinking about how to handle errors, how to write idiomatic code (which I would define as code that communicates its purpose clearly using linguistic conventions), how to quickly pick up and put to use the latest and most convenient libraries for testing (check out what (insta, for example, or assert_fs do), and using GitHub to maintain and work on a project using a basic continuous integration process (branch off main, add/fix something, commit changes, merge branch with main, repeat). So if you want to get hired as a self taught programmer, then I suggest you focus on demonstrating these skills in small projects.
- Show HN: Insta – an enjoyable snapshot testing tool for Rust
- Good diffing library for testing?
- Insta, a snapshot testing library for rust
hujson
- JSON for Humans (JWCC: JSON with comments and trailing commas)
-
Ron: Rusty Object Notation
That, and comments!
Personally, I really hope Human JSON, https://github.com/tailscale/hujson , will take over!
-
Unmarshal text with Go reflection - usage and internals of a library for line-oriented text
I also like the approach that the hujson library takes, where everything is a type Literal []byte and you can call (Literal).Bool(), (Literal).String(), (Literal).Int() or (Literal).Float() on it and it gives you the corresponding value out of it (or the zero value). So kinda like dynamic variables that can store anything.
-
Internet Object – A JSON alternative data serialization format
One of the variants that permit comments: https://github.com/tailscale/hujson
- HuJSON - JSON for Humans (comments and trailing commas)
- Tailscale/hujson: HuJSON: JSON for Humans (comments and trailing commas)
What are some alternatives?
proposal-json-superset - Proposal to make all JSON text valid ECMA-262
zed - A novel data lake based on super-structured data
jsonschema-key-compression - Compress json-data based on its json-schema while still having valid json
set - Package set is a small wrapper around the official reflect package that facilitates loose type conversion and assignment into native Go types.
Dixy - Data format based on dictionaries
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
json5 - JSON5 — JSON for Humans
dhall-lang - Maintainable configuration files
serde - Serialization framework for Rust
ron - Rusty Object Notation