Skip to content

Fix ordering of the properties when serializing

It looks like the order of the properties when we serialize some structure in JSON-LD is important.

It hinders the performances on Comunica side if we wish to explore the LDFlex integration.

See for reference:

Looks like the order of the most important properties are:

{
   "@context": "",
   "@type": "",
   "@id": "" 
   .....
}