Example #1
0
def export_book(databook):
    """Returns JSON representation of Databook."""
    return anyjson.serialize(databook._package())
Example #2
0
File: _json.py Project: f4nt/tablib
def export_book(databook):
    """Returns JSON representation of Databook."""
    return anyjson.serialize(databook._package())
Example #3
0
def export_set(dataset):
    """Returns JSON representation of Dataset."""
    return anyjson.serialize(dataset.dict)
Example #4
0
File: _json.py Project: f4nt/tablib
def export_set(dataset):
    """Returns JSON representation of Dataset."""
    return anyjson.serialize(dataset.dict)