Andreas Kling
afd25679bc
GJsonArrayModel: Support fields that aren't tied to a single JSON value
...
Change the custom data massaging callback to take a const JsonObject&.
This will allow binding together data from multiple fields into one
output in the model. :^)
2019-08-10 15:06:29 +02:00
Andreas Kling
078ce97c41
GJsonArrayModel: Add an optional "massage_for_display" fieldspec hook
...
This allows to you install a custom callback that can do anything with
Role::Display data before it's returned by GJsonArrayModel::data().
2019-08-10 11:06:29 +02:00
Andreas Kling
6e50631e35
LibGUI: Add GJsonArrayModel, a simple JSON-data-file-as-GModel helper
...
This makes it very easy to expose JSON files as GModels. :^)
2019-08-10 10:29:46 +02:00