Skip to content
Ilya Kapitonau edited this page Aug 5, 2021 · 2 revisions

Env::DocAddText

void DocAddText(const char* szID, const char* val);

Emits text JSON field with name szID and value val

Parameters

  • szID : 0-terminated string, the name of the field
  • val : 0-terminated string, the value

Return value

  • none

Notes

  • none

Example

DocAddText("my_field", "abra");

result

 "my_field" : "abra"
Clone this wiki locally