Velarion: すべてのプロダクトが 50% 割引

Struct 2 Json

Convert User Defined Struct to and from Json string

  • サポートされたプラットフォーム
  • サポートされたエンジンバージョン
    4.27, 5.0 - 5.1
  • ダウンロードのタイプ
    エンジン プラグイン
    この製品には、コード プラグインが含まれており、ビルド済みのバイナリと Unreal Engine に統合される全ソースコードが完備されています。任意のエンジン バージョンにインストールし、プロジェクト毎に有効化することが可能です。
  1. This Plugin makes it easy to Convert User Defined Struct to Json string.
  2. This Plugin makes it easy Convert Json string to User Defined Struct.
  3. Empty values of struct will be omitted, make the Json string small
  4. Struct Nesting is supported.
  5. The converted Json fields will be the same as the struct and keep the case


Any suggestions and bugs can be made here: https://github.com/DAN-AND-DNA/UE_EasyStruct2Json(updated 2022/05/25)


Changelog

2022/5/19 version 1.1.0:

  1. Added bOmitEmpty to the Struct2Json to enable ignore empty struct values
  2. bugfix: Struct2Json failed to convert enum values

2022/5/25 version 1.1.2:

  1. bugfix: Modify the display name of the return value to "Ok"

2022/9/15 version 1.1.3:

  1. bugfix: Failed to parse values of enum type

2022/9/21 version 1.1.4:

  1. bugfix: Case insensitive




Doc: https://docs.google.com/document/d/1Bqf_kjC484IPwsgcWBnXuXMCRY5AJPzvM0mCJBUGJxc/edit?usp=sharing

Demos: https://github.com/DAN-AND-DNA/UE_EasyStruct2Json

テクニカルノート

Features:

  •  Convert User Defined Struct to Json string
  •  Convert Json string to User Defined Struct
  •  The converted Json fields will be the same as the struct and keep the case
  • Empty values of struct are omitted
  • Struct Nesting is supported

Code Modules:

  •   EasyStruct2Json (Runtime) 


Number of Blueprints: 0

Number of C++ Classes: 2

Network Replicated: No

Supported Development Platforms: Windows,MacOS

Supported Target Build Platforms: Windows,Mac,IOS,Android

Documentation: https://docs.google.com/document/d/1Bqf_kjC484IPwsgcWBnXuXMCRY5AJPzvM0mCJBUGJxc/edit?usp=sharing

Example Project: https://github.com/DAN-AND-DNA/UE_EasyStruct2Json