Navigation
API > API/Runtime > API/Runtime/Json > API/Runtime/Json/FJsonObject
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< FJsonValue > TryGetField
(
FStringView FieldName |
Attempts to get the field with the specified name. | Dom/JsonObject.h | |
TSharedPtr< FJsonValue > TryGetField
(
FAnsiStringView FieldName |
Dom/JsonObject.h |
TryGetField(FStringView)
Description
Attempts to get the field with the specified name.
| Name | TryGetField |
| Type | function |
| Header File | /Engine/Source/Runtime/Json/Public/Dom/JsonObject.h |
| Include Path | #include "Dom/JsonObject.h" |
TSharedPtr < FJsonValue > TryGetField
(
FStringView FieldName
) const
A pointer to the field, or nullptr if the field doesn't exist.
Parameters
| Name | Remarks |
|---|---|
| FieldName | The name of the field to get. |
TryGetField(FAnsiStringView)
| Name | TryGetField |
| Type | function |
| Header File | /Engine/Source/Runtime/Json/Public/Dom/JsonObject.h |
| Include Path | #include "Dom/JsonObject.h" |
TSharedPtr < FJsonValue > TryGetField
(
FAnsiStringView FieldName
) const