mac-s-g / react-json-view

JSON viewer for react
https://mac-s-g.github.io/react-json-view/demo/dist/
MIT License
3.42k stars 530 forks source link

NULL should be lowercased #447

Open Swimburger opened 1 year ago

Swimburger commented 1 year ago

When a value is null, the JsonViewer renders it as NULL instead of null. It's pedantic, but NULL isn't valid and inconsistent with the actual value, so I think it should be all lowercased null.

Is there a way to override this behavior? I'd be happy to make a PR for this if you agree.

YYsuni commented 1 year ago

Hi, you could give this a try: https://github.com/YYsuni/react18-json-view image