thehyve / react-json-to-table

react-json-to-table
GNU General Public License v3.0
36 stars 28 forks source link

Table doesnt work for json with boolean values #3

Closed JaLe29 closed 3 years ago

JaLe29 commented 5 years ago

When my JSON object contains boolean value, the field in table is empty.

excepted longMode: false

image

johngrandson commented 5 years ago

Try to render the value in string, like 'false'.

KamilError commented 5 years ago

you wont be able to print out values like that, what you should do: longMode ? 'true' : 'false';

JaLe29 commented 5 years ago

@KamilError Sure, like in title with boolean values, "true" is string, but yes, this is working solution.

pvannierop commented 3 years ago

Fixed in PR #18