You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a unique use-case, I am currently building a dynamic table based on an object's keys. So this does not work correctly when the object has an array associated with it. Would it be possible to add an additional parameter to specify that arrays should be strings with the safe option associated?
Hi, I have a unique use-case, I am currently building a dynamic table based on an object's keys. So this does not work correctly when the object has an array associated with it. Would it be possible to add an additional parameter to specify that arrays should be strings with the safe option associated?
for example:
`flatten({
title:'Hello world',
countries: ['ZAF','USA','GRL']
}, {
safe:true,
arraytostring:true
});
//output:
// {
// title:'Hello World',
// countries: '["ZAF","USA","GRL"]'
`
If you do not want to add this functionality to your repo, can I clone the project and add this for my specific use-case?
The text was updated successfully, but these errors were encountered: