Supporting your own data format is documented here.