The fromTable() function is the reverse of the JSON-stat Javascript Toolkit toTable() method: it converts different common flavors of JSON tables (the same flavors supported by toTable()) into the JSON-stat format.
In this experiment, the OECD JSON-stat sample (432 data) is retrieved, a JSON table is created with the toTable() method and then this table is converted back into JSON-stat using the fromTable() function. Finally, the 432 data (values and statuses) in the two JSON-stat documents are compared. This is done three times: one per JSON table type.
If all the icons are blue, everything went ok. Tests about "array" (=CSV-like) tables are represented as squares. Tests about "object" tables (=Google DataTable) are represented as circles. Tests about "arrobj" tables (very common in D3) are represented as leaves.
This page is just a proof of concept. That's why the fromTable() is only provided in minimized form: it's just a very preliminary version (it does not support status or labels, for instance). The final version will be available on GitHub.