List of all members | Public Fields | Public Instance Methods | Static Public Attributes
jsonObjectMember Class Referencefinal

Inherits Object.


Represents one member of a JSON object.

Public Fields

string key_
 Member's key.
object_ptr< JsonValuevalue_
 Member's value.

Public Instance Methods

 jsonObjectMember ()
 jsonObjectMember (string const &key_, object_ptr< JsonValue > &&value_)
void store (TlStorerToString &s, const char *field_name) const final
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
virtual void store (TlStorerCalcLength &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
TlObjectoperator= (const TlObject &)=delete
 TlObject (TlObject &&)=default
TlObjectoperator= (TlObject &&)=default
virtual ~TlObject ()=default

Static Public Attributes

static const std::int32_t ID = -1803309418
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ jsonObjectMember() [1/2]

Represents one member of a JSON object.

◆ jsonObjectMember() [2/2]

jsonObjectMember ( string const &  key_,
object_ptr< JsonValue > &&  value_ 

Represents one member of a JSON object.

[in]key_Member's key.
[in]value_Member's value.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const

Helper function for to_string method. Appends string representation of the object to the storer.

[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.

The documentation for this class was generated from the following file: