Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Question concerning REST API mapping response format

Manuel Salvadores Olaizola manuelso at
Mon Nov 24 07:25:41 PST 2014


I have created a ticket to address this issue. It seems reasonable to apply the changes that you are suggesting though it might take us some time to address it. In the meantime you can probably get around this by modifying the response before parsing it with your JSON library.



----- Original Message -----
From: "Erik Fäßler" <erik.faessler at>
To: support at
Sent: Monday, November 24, 2014 5:48:02 AM
Subject: [bioontology-support] Question concerning REST API mapping response	format

Dear Bioontology-Team,

I use the BioPortal 4.x REST API to download ontology mappings. It seems that in the JSON response of some ontologies, the “process” key has as value an array of Strings, e.g. [“LOOM”] whereas others have an object as value, e.g.

"process" : { "comment" : null,
            "creator" : "",
            "date" : "2013-04-02T18:32:06+00:00",
            "id" : "",
            "name" : null,
            "relation" : null,
            "source" : "Application",
            "source_contact_info" : "support at",
            "source_name" : "BioPortal UI"

Looking at the object, I guess the difference is automatic mapping vs. manually entered mapping. The different value types for the “process” key pose an issue for my code since I deserialise the JSON string into an object using Gson or Jackson.

Thus, my question is whether this format will be unified soon or if it will stay in the heterogeneous way and I just have to implement the two cases. Another question would if there are more types of values planned for the future.

Thank you and best regards,

bioontology-support mailing list
bioontology-support at

More information about the bioontology-support mailing list