mysociety / popit-api

DEPRECATED - Development on PopIt has stopped and it is no longer being maintained
https://goo.gl/Vvej4Q
Other
17 stars 3 forks source link

JSON-LD export #148

Open akuckartz opened 9 years ago

akuckartz commented 9 years ago

I am willing to help with this.

Same as https://github.com/mysociety/popit/issues/823

chrismytton commented 9 years ago

@akuckartz Thanks for volunteering to help! My concern is that this would add complexity to PopIt core if we added it. Do you have a use-case for this being in PopIt? Would it be possible to implement it as an separate tool which just transforms the plain JSON data from PopIt (or popolo in general) into JSON-LD?

akuckartz commented 9 years ago

@chrismytton Transforming plain JSON to the JSON-LD serialization of Popolo is possible but has drawbacks:

For some background regarding my use-case see the discussion on the Poplus mailing list: https://groups.google.com/forum/#!topic/poplus/XuWcVls2umc

Stated simply: My motivation is to shift the balance away from plain/un-semantic JSON towards JSON-LD.

akuckartz commented 9 years ago

Having thought about this again I do not see how that would "add complexity to PopIt core" which is so significant that the disadvantage is higher than the gain.

In any case I perhaps would prefer forking PopIt to creating a separate tool.