import { JSONEditor, JSONEView } from 'ra-input-json';
// In List component use JSONEView component.
<JSONEView source="your source name" label="your label name" />
// In Form component such as SimpleForm use JSONEditor component.
<JSONEView source="your source name" label="your label name"/>
From your README:
The second example should be JSONEditor