Skip to content

Improve object serialisation #25

@Hopson97

Description

@Hopson97

Currently all data is basically manually saved/written to JSON but it can be made more declarative using to/from_json https://json.nlohmann.me/features/arbitrary_types/

For example https://github.com/Hopson97/ClassicYou/blob/main/src/Editor/LevelObjects/PolygonPlatform.cpp#L97 is quite long.

Also, the library can write to binary directly which seems interesting https://json.nlohmann.me/features/binary_values/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions