Since jshon actually parses the elements of the json, this means handily enough, that it is automatically safe for multi-format books. (We couldn't return anything without making sure it is only one element in the array.) So that gets rid of Kovid's concern in post #12, yay!
However, I have no idea what you will end up using as the base input. I just defaulted to using whatever's first in the list. I have no idea how calibre lists them -- hopefully by your configured preferred input order?
Last edited by eschwartz; 08-12-2014 at 02:17 AM.
|