Stream Chat Unreal SDK
Loading...
Searching...
No Matches
JsonAttributes.h
1// Copyright 2026 Stream.IO, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Dom/JsonObject.h"
7#include "Misc/EngineVersionComparison.h"
8
21#if UE_VERSION_OLDER_THAN(5, 8, 0)
22using FJsonAttributeKey = FString;
23#else
24using FJsonAttributeKey = FJsonObject::FStringType;
25#endif
26
31using FJsonAttributeMap = TMap<FJsonAttributeKey, TSharedPtr<FJsonValue>>;
FJsonObject::FStringType FJsonAttributeKey
The key type used by FJsonObject for its attributes.
Definition JsonAttributes.h:24
TMap< FJsonAttributeKey, TSharedPtr< FJsonValue > > FJsonAttributeMap
The attributes of a json object, as stored in FJsonObject::Values.
Definition JsonAttributes.h:31