question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Optionally add commas after values

See original GitHub issue

If a user manually highlights and copies the JSON, it will be invalid because there are no commas after values. I propose adding a prop showCommas, which, if true, will render commas after the values.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:10

github_iconTop GitHub Comments

1reaction
NicestRudeGuycommented, Feb 1, 2022

its working, guys rc-json-viewer is the new pkg name react-json-viewer is old pkg and somehow they mistmatched it. https://www.npmjs.com/package/rc-json-view

0reactions
akhileshacccommented, Dec 20, 2021

Could you check if update is on v1.21.3 or v1.21.8. On 1.21.3, I couldnt see showComma and v1.21.8 is not yet on npm. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add Commas Between Words | Before or After Cell Text
Download the featured file https://www.bluepecantraining.com/ add... This video is about concatenating commas with numeric or text values in ...
Read more >
How to Add Commas Between a List of Items Dynamically with ...
In the UI, I used max-width instead of display and toggled that between 0 and a reasonable maximum value so that I could...
Read more >
dynamically reformat input in javascript to add commas to ...
I think javascript can work this out by showing the user the number they have inducted, formatted with commas. eg: input: | 1230000000000...
Read more >
How to Add Commas Between a List of Items ... - GeeksforGeeks
In this article, we are going to create a list that is separated with commas using CSS. Suppose you have given the name...
Read more >
Conditionally add comma to print text inside a label control
Solved: Hi fam, I am using the concat function for the text property of a Label in order to have Commas, between each...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found