azubieta / AppImageInfo

Extracts metadata from a given AppImage.
GNU General Public License v3.0
4 stars 2 forks source link

Expose data by means of funtions calls #16

Open azubieta opened 5 years ago

azubieta commented 5 years ago

Current implementation force clients to parse a JSON formatted blob to get the AppImage data. In certain scenarios only a limited set of this data is required or including a JSON parser will imply unrequired software bloat.

Therefore a more C friendly API should be provided.

TheAssassin commented 5 years ago

Ideally, the data model is redesigned in e.g., C structs, and there is functionality to serialize such data to JSON. That makes more sense than maintaining two formats, or parsing JSON again after already having serialized the data.