catalogApp.py
def categoriesJSON():
    '''
    Returns JSON objects for all categories in catalog.
    '''
    categories = session.query(Category).all()
    return jsonify(Catergories=[c.serialize for c in categories])

    Returns JSON objects for all categories in catalog.
    
Returns JSON objects for all categories in catalog.
Returns JSON objects for all categories in catalog .
def categoriesJSON():
    categories = session.query(Category).all()
    return jsonify(Catergories=[c.serialize for c in categories])
def categoriesJSON ( ) : categories = session . query ( Category ) . all ( ) return jsonify ( Catergories = [ c . serialize for c in categories ] )
Returns JSON objects for all categories in catalog.
Returns JSON objects for all categories in catalog .
'''
    Returns JSON objects for all categories in catalog.
    '''