Navigation
API > API/Runtime > API/Runtime/Json > API/Runtime/Json/Dom > API/Runtime/Json/Dom/FJsonObject > API/Runtime/Json/Dom/FJsonObject/TryGetNumberField
References
| Module | Json |
| Header | /Engine/Source/Runtime/Json/Public/Dom/JsonObject.h |
| Include | #include "Dom/JsonObject.h" |
| Source | /Engine/Source/Runtime/Json/Private/Dom/JsonObject.cpp |
bool TryGetNumberField
&40;
const FString & FieldName,
int32 & OutNumber
&41; const
Remarks
Get the field named FieldName as a number, and makes sure it's within int32 range. Returns false if it doesn't exist or cannot be converted.