simonuwe / oracle-apex-json-region

An Oracle-APEX-plugin that provides for each property of a JSON-schema an input field to support an easy way to display and edit a JSON item
Apache License 2.0
6 stars 1 forks source link

display of JSON in lists #41

Open simonuwe opened 8 months ago

simonuwe commented 8 months ago
simonuwe commented 8 months ago

Perhaps in a json-item-plugin?

simonuwe commented 5 months ago

new property to configure formats for multiple lists The JSON-properties are referenced by a json-path enclosed by a #. A format looks like #$.vendor#: #$.model# Which displays for example for the JSON

{
  "vendor": "IBM",
  "model": "P560",
  "cpus": 2,
....
}

IBM: P560

The configuration in the JSON schema looks like

{
  "type": "object",
  "properties": {
  ...
  },
  "apex": {
    "display": {
      "list1": "format1",
      "list2": "format2",
....
  }
}