-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug #15
Comments
mini_patch, maybe buggy.... but it works... but I believe it should be buggy code....
|
The patch code which I think is bug, it is because that:
The original writer write this code: When we call processArray, the element of the array always be a object, so it can't deal with [1, 2, 3, 4, 5]. in this way, keys will be empty set.... And I think there are another bug: "date": ["111", "222", "333"], use https://www.araujoigor.com/en/json-grid u will found the resolve result is wrong... make my patch be this: // [+] add by 18f
if(typeof obj != 'object'){
var td = DOMHelper.createElement('td', typeof obj, 'table-wrapper');
td.appendChild(new JSONGrid(obj).generateDOM());
tr.appendChild(td);
return tr;
}
// [+] end patch get this result: Still wrong... but now it is easy read.... |
hey, this seems can't convert this json rightly:
The text was updated successfully, but these errors were encountered: