Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tetracalibers/json-microscope


https://github.com/tetracalibers/json-microscope

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

# json-microscope

Collection of JSON conversion tools to help debug object structure

## Install

```
npm i --save-dev json-microscope
```

or

```
yarn add -D json-microscope
```

## API References

### toJson(obj: Object) => string

Converts an object into an easy-to-read formatted JSON string.

### logJson(obj: Object) => void

The object is formatted for easy viewing and displayed in the terminal.

### fromJson(obj: Object) => any

Converts imported objects from .json files to JS objects.