Unreal access to the PixoVR Platform
Loading...
Searching...
No Matches
PixoPlatformJSON.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"
6#include "Dom/JsonObject.h"
7#include "PixoPlatformJSON.generated.h"
8
9USTRUCT()
10struct PIXOPLATFORMCORE_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()
virtual ~FJsonable()
virtual void FromJsonObject(const TSharedPtr< FJsonObject > &JObject)
virtual TSharedPtr< FJsonObject > ToJsonObject() const