File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ # CSVFiles.jl v0.14.0
2+ * Add support for 'application/vnd.dataresource+json' MIME type
3+
14# CSVFiles.jl v0.13.0
25* Never use StringVector, always use Vector{String} instead
36
Original file line number Diff line number Diff line change 2828
2929Base. showable (:: MIME"text/html" , source:: CSVFile ) = true
3030
31+ function Base. show (io:: IO , :: MIME"application/vnd.dataresource+json" , source:: CSVFile )
32+ TableShowUtils. printdataresource (io, getiterator (source))
33+ end
34+
35+ Base. showable (:: MIME"application/vnd.dataresource+json" , source:: CSVFile ) = true
36+
3137function Base. show (io:: IO , source:: CSVStream )
3238 TableShowUtils. printtable (io, getiterator (source), " CSV file" )
3339end
3844
3945Base. showable (:: MIME"text/html" , source:: CSVStream ) = true
4046
47+ function Base. show (io:: IO , :: MIME"application/vnd.dataresource+json" , source:: CSVStream )
48+ TableShowUtils. printdataresource (io, getiterator (source))
49+ end
50+
51+ Base. showable (:: MIME"application/vnd.dataresource+json" , source:: CSVStream ) = true
52+
4153function fileio_load (f:: FileIO.File{FileIO.format"CSV"} , delim= ' ,' ; args... )
4254 return CSVFile (f. filename, delim, args)
4355end
You can’t perform that action at this time.
0 commit comments