RHAPI_BaseModel
Summary
Members | Descriptions |
---|---|
struct FRHAPI_Model | Base class for all RallyHereAPI data models. |
struct FRHAPI_Model
Base class for all RallyHereAPI data models.
Summary
Members | Descriptions |
---|---|
public GENERATED_BODY (WithNoDestructor) | |
public inline virtual ~FRHAPI_Model () | |
public inline virtual bool FromJson (const TSharedPtr< FJsonValue > & JsonValue) | Fills this object with data from the passed in JSON. |
public inline virtual void WriteJson (TSharedRef< TJsonWriter<>> & Writer) const | Writes the data from this object into the specified JSON Writer stream. |
Members
public
GENERATED_BODY
(WithNoDestructor)
public inline virtual
~FRHAPI_Model
()
public inline virtual bool
FromJson
(const TSharedPtr< FJsonValue > & JsonValue)
Fills this object with data from the passed in JSON.
Parameters
JsonValue
Data from the API call.
Returns
true if parsing of the JSON data was successful.
public inline virtual void
WriteJson
(TSharedRef< TJsonWriter<>> & Writer) const
Writes the data from this object into the specified JSON Writer stream.
Parameters
Writer
JSON Writer stream to push .