@Walter Purvis This is interesting. From a little reading I did though seems that we have to use a method on @Thomas Tempelmann 's blog or perhaps the MBS plugins from @Christian Schmitz to add the function to the sqlite engine. Is this correct ?
Yes thanks saw that and the link from that page to Thomas’s blog post about adding a function to sqlite to return a json value. That was the bit i was / am unsure of.