tagion_document_element_by_key

Get a Document element by a key

extern (C)
int
tagion_document_element_by_key
(
const uint8_t* buf
,
const size_t buf_len
,
const char* key
,
const size_t key_len
,)

Parameters

buf uint8_t*

the document buffer

buf_len size_t

length of the document buffer

key char*

key to get

key_len size_t

length of key

element Document.Element*

pointer to the returned element

Return Value

Type: int

ErrorCode