Questions tagged as 'mormot'

1
answer

Deserialization of Object JSON morMot

I am trying to deserialize a JSON object with an objectlist, following the examples from the mormot forum does not work, can anyone help me: Memo.Text := '{"CODIGO":"01","NOME":"CIDO","TELEFONES":[{"DDD":"18","NUMERO":"996237140"},{"DDD":"18",...
asked by 29.11.2016 / 14:05
1
answer

How to install mORMot?

The site is confusing, the documentation speaks little about the installation process. I added the libraries in the path lib and it did not work, some projects just did not compile. So I would like to know the correct way to install, with the st...
asked by 20.06.2017 / 21:06
2
answers

How to sort Record in Delphi (similar to ORDER BY)?

I bring some bank records with a specific order and play into a vector of type record ". Then I need to add more items to that vector by keeping the initial sort. Since the ordering is done in SQL the records that are added then en...
asked by 30.05.2017 / 15:47
1
answer

Digital Certificate to receive HTTPS requests via AJAX

Does anyone know what kind of digital certificate is needed to use mormot to receive AJAX requests via HTTPS? Also, how to install it on windows? If you have an example (preferably using Delphi Tokyo Mormot ) thank you.     
asked by 11.08.2017 / 21:58
0
answers

Store return JSON mORMot server with Javascript authentication

Speak up! I would like to know how I can store the return of authentication via javascript on a server with mORMot. I need to store the authorization key to send along with the requisitions. Follow the javascript code that I use to authent...
asked by 13.04.2018 / 20:50
1
answer

Destroy TList Memory

I created this object list with mormot and it does not let destroy the TList created after use: type TTesteVO = class private fcodigo : Integer; fnome : String; frespostas : String; ftotal : Real; published property co...
asked by 16.11.2017 / 10:46
1
answer

Serialization Mormot Object with ArrayDynamic

type TRecordInstructions = record TextInstructions : RawUTF8; end; TArrayInstructions = array of TRecordInstructions; type TDoctoVO = class private p_customer : Integer; p_messages : RawUTF8; p_expire...
asked by 19.07.2017 / 21:37
1
answer

Get JSON return without "result" in Ajax or return without "result" in Delphi

I'm generating JSON in Delphi with mORMot and I need to get it on a page to generate graphics with Google Chart , but Delphi returns me JSON within a result . I just put the string in a function...
asked by 22.05.2017 / 19:26