Class CreateJson
Json resources factory. Ensure to keep data encoded in UTF-8.
Inheritance
CreateJson
Assembly: FlaxEngine.dll
File: Engine/ContentImporters/CreateJson.h
Syntax
public class CreateJson
Methods
Create(const StringView& path, const StringAnsiView& data, const StringAnsiView& dataTypename)
Declaration
public static bool Create(const StringView& path, const StringAnsiView& data, const StringAnsiView& dataTypename)
Parameters
StringView
path
|
StringAnsiView
data
|
StringAnsiView
dataTypename
|
Returns
bool
|
Create(const StringView& path, rapidjson_flax::StringBuffer& data, const char* dataTypename)
Declaration
public static bool Create(const StringView& path, rapidjson_flax::StringBuffer& data, const char* dataTypename)
Parameters
StringView
path
|
rapidjson_flax::StringBuffer
data
|
char
dataTypename
|
Returns
bool
|
Create(const StringView& path, rapidjson_flax::StringBuffer& data, const String& dataTypename)
Declaration
public static bool Create(const StringView& path, rapidjson_flax::StringBuffer& data, const String& dataTypename)
Parameters
StringView
path
|
rapidjson_flax::StringBuffer
data
|
String
dataTypename
|
Returns
bool
|
ImportPo(CreateAssetContext& context)
Declaration
public static CreateAssetResult ImportPo(CreateAssetContext& context)
Parameters
CreateAssetContext
context
|
Returns
CreateAssetResult
|