After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 740560 - json.lang: minor improvements (MIME + geoJSON & topoJSON)
json.lang: minor improvements (MIME + geoJSON & topoJSON)
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
git master
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-22 21:25 UTC by Martin Blanchard
Modified: 2014-11-23 10:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
json.lang improvement patch (1.19 KB, patch)
2014-11-22 21:25 UTC, Martin Blanchard
none Details | Review

Description Martin Blanchard 2014-11-22 21:25:44 UTC
Created attachment 291283 [details] [review]
json.lang improvement patch

According to RFC7159 and IANA, JSON official MIME media type is
application/JSON, better specify it.

GeoJSON (.geo.json or .geojson files) and TopoJSON (.topojson files)
are both JSON based formats. This patch also adds file extension
detection for those two.