• TDocVariant CRUD Operations

    This is based on http://blog.synopse.info/post/2014/02/25/TDocVariant-custom-variant-type and the corresponding forum http://synopse.info/forum/viewtopic.php?id=1631 Create A TDocVariant custom variant type is declared as a Variant: var LDocVariant : Variant; The TDocVariant can be created as an object or from a JSON string. You can use the _Obj/_ObjFast, _JSON/_JSONFast and _Arr/_ArrFast methods to create the TDocVariant. LDocVariant := _ObjFast( [ ‘name’, ‘bernd’ ] […]

  • Using TDocVariant for settings

    Arnaud from Synopse has just released a great new addition to the mORMot framework. TDocVariant is custom variant type which integrates effortless with JSON. One area that this can be implemented is for the settings of an application. Usually an INI file is the easiest way to implement settings for an application, especially when it is a […]