Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/victornpb/jsonify
Convert Javascript Object literals to JSON
https://github.com/victornpb/jsonify
javascript javascript-objects json json-parser jsonify webapp
Last synced: 9 days ago
JSON representation
Convert Javascript Object literals to JSON
- Host: GitHub
- URL: https://github.com/victornpb/jsonify
- Owner: victornpb
- Created: 2018-04-27T01:41:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T02:20:14.000Z (over 2 years ago)
- Last Synced: 2024-10-08T01:40:27.596Z (about 1 month ago)
- Topics: javascript, javascript-objects, json, json-parser, jsonify, webapp
- Language: HTML
- Homepage: https://victornpb.github.io/jsonify/
- Size: 10.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jsonify
![carbon](https://user-images.githubusercontent.com/3372598/175796597-c4baa723-3af7-446a-823c-58ec9dfea468.png)
Convert Javascript Object literals to JSON
Single quotes?
Unquoted properties?
Trailing commas?
Comments?Just turn this:
```js
/* Javascript object */
{
foo: 'bar', // comment
'hello': `world`, // trailing comma?
}
```Into this:
```json
{
"foo": "bar",
"hello": "world"
}
```-----------
https://victornpb.github.io/jsonify/
-----------