Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (9 sloc) 0.37 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef JSON_H_
#define JSON_H_

json_t *playlist_to_json(sp_playlist *, json_t *);

json_t *playlist_to_json_set_collaborative(sp_playlist *, json_t *);

// Read track URI into Spotify track
bool json_to_track(json_t *json, sp_track **track);

// Read tracks from an JSON array of track URIs
int json_to_tracks(json_t *json, sp_track **tracks, int num_tracks);

#endif
Something went wrong with that request. Please try again.