Daff - Data Diff

daff.JsonTables

Experimental wrapper for reading tables expressed as json in following format:

{ “names”: "sheet1", "sheet2", “tables”: { “sheet1”: { “columns”: "col1", "col2", "col3", “rows”: <pre> { “col1”: 42, “col2”: “x”, “col3”: null }, { “col1”: 24, “col2”: “y”, “col3”: null }, … </pre> }, “sheet2”: { … } } }

Type: class

Implements:

Constructor:

new(json : Dynamic, flags : CompareFlags)

Variables:

height (accessor,null) : Int
width (accessor,null) : Int

Methods:

clear () : Void
clone () : Table
create () : Table
getCell (x : Int, y : Int) : Dynamic
getCellView () : View
getData () : Dynamic
getMeta () : Meta
get_height () : Int
get_width () : Int
insertOrDeleteColumns (fate : Array<Int>, wfate : Int) : Bool
insertOrDeleteRows (fate : Array<Int>, hfate : Int) : Bool
isResizable () : Bool
resize (w : Int, h : Int) : Bool
setCell (x : Int, y : Int, c : Dynamic) : Void
trimBlank () : Bool