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
When I push an array contains % or Chinese characters, array support would be malfunction
ex:
const db = new JsonDB(new Config('database',true,true,'/'))
const input = func() // input is come from other function
db.push('/中文[]',input)
Hello,
This is a hard issue to fix because of the regex used to recognize keys for array ...
I tried to update it to work with UTF-8, but couldn't get it to work ...
When I push an array contains % or Chinese characters, array support would be malfunction
ex:
const db = new JsonDB(new Config('database',true,true,'/'))
const input = func() // input is come from other function
db.push('/中文[]',input)
expected result:{"中文":[input_value]}
actuall result:{"中文[]":input_value}
Any idea is appreciate!!
The text was updated successfully, but these errors were encountered: