{"id":19538501,"url":"https://github.com/indoqa/react-json-syntax-highlighter","last_synced_at":"2025-04-26T16:30:48.382Z","repository":{"id":8246219,"uuid":"57394094","full_name":"Indoqa/react-json-syntax-highlighter","owner":"Indoqa","description":"Serialize javascript objects as highlighted, formatted json","archived":true,"fork":false,"pushed_at":"2023-01-05T03:23:23.000Z","size":3020,"stargazers_count":3,"open_issues_count":23,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-17T21:26:03.900Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Indoqa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-29T15:21:45.000Z","updated_at":"2024-09-27T07:37:19.000Z","dependencies_parsed_at":"2023-01-13T15:00:50.571Z","dependency_job_id":null,"html_url":"https://github.com/Indoqa/react-json-syntax-highlighter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Indoqa%2Freact-json-syntax-highlighter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Indoqa%2Freact-json-syntax-highlighter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Indoqa%2Freact-json-syntax-highlighter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Indoqa%2Freact-json-syntax-highlighter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Indoqa","download_url":"https://codeload.github.com/Indoqa/react-json-syntax-highlighter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251017231,"owners_count":21523539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T02:35:04.612Z","updated_at":"2025-04-26T16:30:43.371Z","avatar_url":"https://github.com/Indoqa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React json syntax highlighter\n\nThis is a simple React component that serializes a JavaScript object as highlighted json string.\n\n## Getting Started\n\nInstall react component:\n```bash\nnpm install --save react-json-syntax-highlighter\n```\n\nImport the component in your file:\n```javascript\nimport ReactJsonSyntaxHighlighter from 'react-json-syntax-highlighter'\n```\n\nUse it in your React component:\n```javascript\nclass MyComponent extends React.Component {\n\n  render() {\n    const obj = {\n      stringProp: 'bar',\n      numberProp: 1,\n      booleanProp: true,\n      nullProp: null,\n      nestedProp: {\n        nestedPropBar: 'bar'\n      }\n    }    \n    return \u003cReactJsonSyntaxHighlighter obj={obj} /\u003e\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findoqa%2Freact-json-syntax-highlighter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findoqa%2Freact-json-syntax-highlighter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findoqa%2Freact-json-syntax-highlighter/lists"}