FJsonInternationalizationArchiveSerializer::JsonObjToArchive

Recursive function that will traverse the JSON object and populate an archive.

Unreal Engine C++ API Reference > Developer > Localization > Serialization > FJsonInternationalizationArchiveSerializer

References

   
Module Localization
Header /Engine/Source/Developer/Localization/Public/Serialization/JsonInternationalizationArchiveSerializer.h
Include #include "Serialization/JsonInternationalizationArchiveSerializer.h"
Source /Engine/Source/Developer/Localization/Private/Serialization/JsonInternationalizationArchiveSerializer.cpp
static bool JsonObjToArchive
(
    [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [FJsonObject](API\Runtime\Json\Dom\FJsonObject) > InJsonObj,
    const [FString](API\Runtime\Core\Containers\FString) & ParentNamespace,
    [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [FInternationalizationArchive](API\Runtime\Core\Internationalization\FInternationalizationArchive) > InArchive,
    [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< const [FInternationalizationManifest](API\Runtime\Core\Internationalization\FInternationalizationManifest) > InManifest,
    [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< const [FInternationalizationArchive](API\Runtime\Core\Internationalization\FInternationalizationArchive) > InNativeArchive
)

Remarks

Recursive function that will traverse the JSON object and populate an archive. true if successful, false otherwise.

Parameters

Name Description
InJsonObj The JSON object to serialize from.
ParentNamespace The namespace of the parent JSON object.
InArchive The archive to populate from the JSON data.
InManifest The manifest associated with the archive. May be null, but you won't be able to load archives with a version < FInternationalizationArchive::EFormatVersion::AddedKeys.
InNativeArchive The native archive associated with the archive. May be null.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library