A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
ApexJSON.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "ApexJSON.generated.h"
8
9USTRUCT()
10struct APEXSDK_API FJsonable
11{
12 GENERATED_BODY()
13
14 virtual ~FJsonable() { }
15
16 virtual void FromJsonObject(const TSharedPtr<FJsonObject>& JObject)
17 {
19 }
20
21 virtual TSharedPtr<FJsonObject> ToJsonObject() const
22 {
23 return nullptr;
24 }
25};
USTRUCT()
Definition ApexJSON.h:13
virtual ~FJsonable()
Definition ApexJSON.h:16
virtual void FromJsonObject(const TSharedPtr< FJsonObject > &JObject)
Definition ApexJSON.h:18
virtual TSharedPtr< FJsonObject > ToJsonObject() const
Definition ApexJSON.h:23