Skip to content

Add an API to use magic enum to define custom objects. #2

@tyler-gilbert

Description

@tyler-gilbert
class MyObject {

enum class Key {
  name,
  path,
  value
}

JsonValue get(Key key);
MyObject& set(Key key, JsonValue value);

private:
  JsonObject m_object;
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions