FJsonInternationalizationArchiveSerializer::JsonObjToArchive

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

Windows
MacOS
Linux

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

Syntax

static bool JsonObjToArchive
(
    TSharedRef< FJsonObject > InJsonObj,
    const FString & ParentNamespace,
    TSharedRef< FInternationalizationArchive > InArchive,
    TSharedPtr< const FInternationalizationManifest > InManifest,
    TSharedPtr< const FInternationalizationArchive > InNativeArchive
)

Remarks

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

Returns

true if successful, false otherwise.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss