Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/

-----------