pageList
and other EPUB collections must be serialized as JSON "compact collections"
#185
Labels
bug
Something isn't working
All the subcollections defined in the EPUB RWPM profile are supposed to be Compact Collections:
But the current Kotlin toolkit serializes all subcollections as Full Collections, with an empty
metadata
object.We can fix this by:
PublicationCollection.isCompact
property, to determine if a collection must be serialized as a simple list of Link objects (compact collection).isCompact
automatically according to the parsed structure.isCompact
property to true, when creating the subcollections.The text was updated successfully, but these errors were encountered: