is-json-value
wild-wild-utils
is-json-value | wild-wild-utils | |
---|---|---|
1 | 1 | |
5 | 33 | |
- | - | |
7.2 | 7.2 | |
9 days ago | 9 days ago | |
JavaScript | JavaScript | |
MIT License | Apache License 2.0 |
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.
is-json-value
-
⛑️ JSON serialization should never fail
That being said, when JSON serialization should indeed fail, the library above might also be useful as it provides additional insights into why it did fail: specific property path and value, and reason why it failed. I have written a [second library `is-json-value`](https://github.com/ehmicky/is-json-value) which makes it convenient to generate a list of warning messages indicating why a value is not JSON-safe.
wild-wild-utils
-
Wild Wild Path - Object property paths with wildcards and regexps
I also tried to keep it simple with only few primitives, unlike projects like JMESPath or [jq](https://github.com/stedolan/jq), hoping for higher-level libraries to be built on top of it (for example, I added a few functional utilities on top of it [as a separate package](https://github.com/ehmicky/wild-wild-utils)).
What are some alternatives?
joss - JOSS can serialize almost every JavaScript data type and data structure, so data can be seamlessly exchanged between browsers and servers (Deno or Node.js).
declarative-merge - Merge objects/arrays declaratively
derive-ts - Derive a TypeScript interface from a JavaScript object or JSON.
re2js - RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching
wild-wild-path - 🤠 Object property paths with wildcards and regexps 🌵
dot-prop - Get, set, or delete a property from a nested object using a dot path
safe-json-value - ⛑️ JSON serialization should never fail
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
modern-errors - Handle errors in a simple, stable, consistent way
emoji-regex - A regular expression to match all Emoji-only symbols as per the Unicode Standard.
get-value - Use property paths (`a.b.c`) get a nested value from an object.